NAKAMURA Takumi 5d71ec6e44 Split out CodeGenTypes from CodeGen for LLT/MVT
This reduces dependencies on `llvm-tblgen` so much.

`CodeGenTypes` depends on `Support` at the moment.
Be careful to append deps on this, since Targets' tablegens
depend on this.

Depends on D149024

Differential Revision: https://reviews.llvm.org/D148769
2023-05-03 00:13:20 +09:00

22 lines
296 B
CMake

add_llvm_component_library(LLVMMIRParser
MILexer.cpp
MIParser.cpp
MIRParser.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/MIRParser
DEPENDS
intrinsics_gen
LINK_COMPONENTS
AsmParser
BinaryFormat
CodeGen
CodeGenTypes
Core
MC
Support
Target
)