mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
a7ed9d1b7f
and introducing new unittests/CodeGen/GlobalISel/LegalizerTest.cpp relying on it to unit test the entire legalizer algorithm (including the top-level main loop). See also https://reviews.llvm.org/D71448
23 lines
359 B
CMake
23 lines
359 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
CodeGen
|
|
Core
|
|
GlobalISel
|
|
MC
|
|
MIRParser
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_unittest(GlobalISelTests
|
|
ConstantFoldingTest.cpp
|
|
CSETest.cpp
|
|
LegalizerTest.cpp
|
|
LegalizerHelperTest.cpp
|
|
LegalizerInfoTest.cpp
|
|
MachineIRBuilderTest.cpp
|
|
GISelMITest.cpp
|
|
PatternMatchTest.cpp
|
|
KnownBitsTest.cpp
|
|
)
|