Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / unittests / CodeGen / CMakeLists.txt
blobfa6c9cf7c5aebf0566628bc27e662a30372f39d9
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   Analysis
4   AsmParser
5   AsmPrinter
6   CodeGen
7   CodeGenTypes
8   Core
9   FileCheck
10   MC
11   MIRParser
12   Passes
13   SelectionDAG
14   Support
15   Target
16   TargetParser
17   )
19 add_llvm_unittest(CodeGenTests
20   AArch64SelectionDAGTest.cpp
21   AllocationOrderTest.cpp
22   AMDGPUMetadataTest.cpp
23   AsmPrinterDwarfTest.cpp
24   CCStateTest.cpp
25   DIEHashTest.cpp
26   DIETest.cpp
27   DwarfStringPoolEntryRefTest.cpp
28   InstrRefLDVTest.cpp
29   LowLevelTypeTest.cpp
30   LexicalScopesTest.cpp
31   MachineBasicBlockTest.cpp
32   MachineInstrBundleIteratorTest.cpp
33   MachineInstrTest.cpp
34   MachineOperandTest.cpp
35   RegAllocScoreTest.cpp
36   PassManagerTest.cpp
37   ScalableVectorMVTsTest.cpp
38   SchedBoundary.cpp
39   SelectionDAGAddressAnalysisTest.cpp
40   TypeTraitsTest.cpp
41   TargetOptionsTest.cpp
42   TestAsmPrinter.cpp
43   MLRegAllocDevelopmentFeatures.cpp
44   )
46 add_subdirectory(GlobalISel)
48 target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)