[flang] Fix crash in HLFIR generation (#118399)
[llvm-project.git] / llvm / tools / llvm-ml / CMakeLists.txt
blob30097178db23d2b6534ce9e76195ae41bc03cc16
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsAsmParsers
3   AllTargetsDescs
4   AllTargetsDisassemblers
5   AllTargetsInfos
6   MC
7   MCParser
8   Option
9   Support
10   TargetParser
11   )
13 set(LLVM_TARGET_DEFINITIONS Opts.td)
15 tablegen(LLVM Opts.inc -gen-opt-parser-defs)
16 add_public_tablegen_target(MLTableGen)
18 add_llvm_tool(llvm-ml
19   llvm-ml.cpp
20   Disassembler.cpp
21   DEPENDS
22   MLTableGen
23   GENERATE_DRIVER
24   )