[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:
River Riddle 2020-04-01 14:00:49 -07:00
parent 064c634ef3
commit 8bf1583b71
2 changed files with 7 additions and 6 deletions

View File

@ -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 ./)

View File

@ -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 ./)