Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / unittests / TableGen / CMakeLists.txt
blob7830e021804589b9200998b15f924b407cf74915
1 set(LLVM_LINK_COMPONENTS
2   TableGen
3   Support
4   )
6 set(LLVM_TARGET_DEFINITIONS Automata.td)
8 tablegen(LLVM AutomataTables.inc -gen-searchable-tables)
9 tablegen(LLVM AutomataAutomata.inc -gen-automata)
10 add_public_tablegen_target(AutomataTestTableGen)
12 add_llvm_unittest(TableGenTests DISABLE_LLVM_LINK_LLVM_DYLIB
13   AutomataTest.cpp
14   CodeExpanderTest.cpp
15   ParserEntryPointTest.cpp
16   )
18 target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)