[CodeGenPrepare] Drop nsw flags in `optimizeLoadExt` (#118180)
[llvm-project.git] / llvm / unittests / CodeGen / CMakeLists.txt
blob963cdcc0275e162b6b365a7d685ceda2acb3e763
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   IRPrinter
11   MC
12   MIRParser
13   Passes
14   ScalarOpts
15   SelectionDAG
16   Support
17   Target
18   TargetParser
19   TransformUtils
20   )
22 add_llvm_unittest(CodeGenTests
23   AArch64SelectionDAGTest.cpp
24   AllocationOrderTest.cpp
25   AMDGPUMetadataTest.cpp
26   AsmPrinterDwarfTest.cpp
27   CCStateTest.cpp
28   DIEHashTest.cpp
29   DIETest.cpp
30   DwarfStringPoolEntryRefTest.cpp
31   InstrRefLDVTest.cpp
32   LowLevelTypeTest.cpp
33   LexicalScopesTest.cpp
34   MachineBasicBlockTest.cpp
35   MachineDomTreeUpdaterTest.cpp
36   MachineInstrBundleIteratorTest.cpp
37   MachineInstrTest.cpp
38   MachineOperandTest.cpp
39   RegAllocScoreTest.cpp
40   PassManagerTest.cpp
41   ScalableVectorMVTsTest.cpp
42   SchedBoundary.cpp
43   SelectionDAGAddressAnalysisTest.cpp
44   SelectionDAGPatternMatchTest.cpp
45   TypeTraitsTest.cpp
46   TargetOptionsTest.cpp
47   TestAsmPrinter.cpp
48   MLRegAllocDevelopmentFeatures.cpp
49   )
51 add_subdirectory(GlobalISel)
53 target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)