mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 20:51:35 +00:00
[mlir] Move LLVMPassIncGen to LLVMIR/Transforms/CMakeLists.txt
This fixes a build error with the make generator for a missing sub-directory.
This commit is contained in:
parent
064c634ef3
commit
8bf1583b71
@ -1,3 +1,5 @@
|
||||
add_subdirectory(Transforms)
|
||||
|
||||
set(LLVM_TARGET_DEFINITIONS LLVMOps.td)
|
||||
mlir_tablegen(LLVMOps.h.inc -gen-op-decls)
|
||||
mlir_tablegen(LLVMOps.cpp.inc -gen-op-defs)
|
||||
@ -28,9 +30,3 @@ add_mlir_dialect(LLVMAVX512 llvm_avx512 LLVMAVX512)
|
||||
set(LLVM_TARGET_DEFINITIONS LLVMAVX512.td)
|
||||
mlir_tablegen(LLVMAVX512Conversions.inc -gen-llvmir-conversions)
|
||||
add_public_tablegen_target(MLIRLLVMAVX512ConversionsIncGen)
|
||||
|
||||
set(LLVM_TARGET_DEFINITIONS Transforms/Passes.td)
|
||||
mlir_tablegen(Transforms/Passes.h.inc -gen-pass-decls)
|
||||
add_public_tablegen_target(MLIRLLVMPassIncGen)
|
||||
|
||||
add_mlir_doc(Transforms/Passes -gen-pass-doc LLVMPasses ./)
|
||||
|
@ -0,0 +1,5 @@
|
||||
set(LLVM_TARGET_DEFINITIONS Passes.td)
|
||||
mlir_tablegen(Passes.h.inc -gen-pass-decls)
|
||||
add_public_tablegen_target(MLIRLLVMPassIncGen)
|
||||
|
||||
add_mlir_doc(Passes -gen-pass-doc LLVMPasses ./)
|
Loading…
x
Reference in New Issue
Block a user