Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / unittests / IR / CMakeLists.txt
blobf57039493f21fdc9cc997364cccbff0be4f5f4b8
1 set(LLVM_LINK_COMPONENTS
2   Analysis
3   AsmParser
4   Core
5   Support
6   Passes
7   TargetParser
8   TransformUtils
9   ScalarOpts
10   )
12 add_llvm_unittest(IRTests
13   AbstractCallSiteTest.cpp
14   AsmWriterTest.cpp
15   AttributesTest.cpp
16   BasicBlockTest.cpp
17   CFGBuilder.cpp
18   ConstantRangeTest.cpp
19   ConstantsTest.cpp
20   DataLayoutTest.cpp
21   DebugInfoTest.cpp
22   DebugTypeODRUniquingTest.cpp
23   DemandedBitsTest.cpp
24   DominatorTreeTest.cpp
25   DominatorTreeBatchUpdatesTest.cpp
26   FunctionTest.cpp
27   PassBuilderCallbacksTest.cpp
28   IRBuilderTest.cpp
29   InstructionsTest.cpp
30   IntrinsicsTest.cpp
31   LegacyPassManagerTest.cpp
32   MDBuilderTest.cpp
33   ManglerTest.cpp
34   MetadataTest.cpp
35   ModuleTest.cpp
36   ModuleSummaryIndexTest.cpp
37   PassManagerTest.cpp
38   PatternMatch.cpp
39   ShuffleVectorInstTest.cpp
40   StructuralHashTest.cpp
41   TimePassesTest.cpp
42   TypesTest.cpp
43   UseTest.cpp
44   UserTest.cpp
45   ValueHandleTest.cpp
46   ValueMapTest.cpp
47   ValueTest.cpp
48   VectorBuilderTest.cpp
49   VectorTypesTest.cpp
50   VerifierTest.cpp
51   VPIntrinsicTest.cpp
52   CoreBindings.cpp
53   )
55 target_link_libraries(IRTests PRIVATE LLVMTestingSupport)