1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib
Zakk Chen b333356046 [RISCV] Add support for -mcpu option.
Summary:
1. gcc uses `-march` and `-mtune` flag to chose arch and
pipeline model, but clang does not have `-mtune` flag,
we uses `-mcpu` to chose both infos.
2. Add SiFive e31 and u54 cpu which have default march
and pipeline model.
3. Specific `-mcpu` with rocket-rv[32|64] would select
pipeline model only, and use the driver's arch choosing
logic to get default arch.

Reviewers: lenary, asb, evandro, HsiangKai

Reviewed By: lenary, asb, evandro

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D71124

(cherry picked from commit 294d1eae75bf8867821a4491f0d67445227f8470)
2020-07-20 15:38:39 +02:00
..
Analysis Temporarily Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-17 10:32:03 +02:00
AsmParser Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
BinaryFormat AMDGPU: Remove .value_type from kernel metadata 2020-07-10 18:16:31 -04:00
Bitcode Temporarily revert "[NFC] Separate bitcode reading for FUNC_CODE_INST_CMPXCHG(_OLD)" 2020-07-10 15:21:00 -07:00
Bitstream
CodeGen Remove TwoAddressInstructionPass::sink3AddrInstruction. 2020-07-17 16:29:56 -04:00
DebugInfo [DebugInfo] Fix a possible crash when reading a malformed .debug_*lists section. 2020-07-14 16:35:17 +07:00
Demangle
DWARFLinker
ExecutionEngine Make LazyCallThroughManager destructor virtual rather than arranging for 2020-07-14 18:41:07 -07:00
Extensions
Frontend [OpenMP][IRBuilder] Support nested parallel regions 2020-07-14 22:39:06 -05:00
Fuzzer
FuzzMutate [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
IR Temporarily Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-17 10:32:03 +02:00
IRReader
LineEditor
Linker
LTO
MC [MC] Support .reloc sym+constant, *, * 2020-07-14 13:44:00 -07:00
MCA
Object [RelocationResolver] Support R_AARCH64_PREL32 2020-07-18 15:22:02 -07:00
ObjectYAML [yaml2obj] - Rename FileHeader::SH* fields. 2020-07-15 12:47:31 +03:00
Option
Passes Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
ProfileData [NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder. 2020-07-09 16:38:19 -07:00
Remarks
Support [RISCV] Add support for -mcpu option. 2020-07-20 15:38:39 +02:00
TableGen
Target [RISCV] Add support for -mcpu option. 2020-07-20 15:38:39 +02:00
Testing
TextAPI
ToolDrivers
Transforms [InstCombine] Fix replace select with Phis when branch has the same labels 2020-07-20 15:27:48 +02:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt