mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
6638a8d664
Summary: Prior to r310876 one of our out-of-tree targets was enabling IPRA by modifying the TargetOptions::EnableIPRA. This no longer works on current trunk since the useIPRA() hook overrides any values that are set in advance. This patch adjusts the behaviour of the hook so that API users and useIPRA() can both enable it but useIPRA() cannot disable it if the API user already enabled it. Reviewers: arsenm Reviewed By: arsenm Subscribers: wdng, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D38043 llvm-svn: 354692
27 lines
444 B
CMake
27 lines
444 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Analysis
|
|
AsmParser
|
|
AsmPrinter
|
|
CodeGen
|
|
Core
|
|
MC
|
|
SelectionDAG
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_unittest(CodeGenTests
|
|
AArch64SelectionDAGTest.cpp
|
|
DIEHashTest.cpp
|
|
LowLevelTypeTest.cpp
|
|
MachineInstrBundleIteratorTest.cpp
|
|
MachineInstrTest.cpp
|
|
MachineOperandTest.cpp
|
|
ScalableVectorMVTsTest.cpp
|
|
TypeTraitsTest.cpp
|
|
TargetOptionsTest.cpp
|
|
)
|
|
|
|
add_subdirectory(GlobalISel)
|