[docs] Fix build-docs.sh
[llvm-project.git] / llvm / unittests / CodeGen / CMakeLists.txt
blob35b0934005e8aee0e37fb1f081aa48645e0ec6cb
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   Analysis
4   AsmParser
5   AsmPrinter
6   CodeGen
7   Core
8   FileCheck
9   MC
10   MIRParser
11   Passes
12   SelectionDAG
13   Support
14   Target
15   )
17 add_llvm_unittest(CodeGenTests
18   AArch64SelectionDAGTest.cpp
19   AllocationOrderTest.cpp
20   AMDGPUMetadataTest.cpp
21   AsmPrinterDwarfTest.cpp
22   DIEHashTest.cpp
23   DIETest.cpp
24   DwarfStringPoolEntryRefTest.cpp
25   InstrRefLDVTest.cpp
26   LowLevelTypeTest.cpp
27   LexicalScopesTest.cpp
28   MachineInstrBundleIteratorTest.cpp
29   MachineInstrTest.cpp
30   MachineOperandTest.cpp
31   RegAllocScoreTest.cpp
32   PassManagerTest.cpp
33   ScalableVectorMVTsTest.cpp
34   SelectionDAGAddressAnalysisTest.cpp
35   TypeTraitsTest.cpp
36   TargetOptionsTest.cpp
37   TestAsmPrinter.cpp
38   MLRegallocDevelopmentFeatures.cpp
39   )
41 add_subdirectory(GlobalISel)
43 target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)