forked from OSchip/llvm-project
[MLIR][cmake] use add_mlir_interface() wherever possible
Differential Revision: https://reviews.llvm.org/D81715
This commit is contained in:
parent
1eddce4177
commit
8dcf89c3a7
|
@ -1,11 +1,2 @@
|
|||
set(LLVM_TARGET_DEFINITIONS OpAsmInterface.td)
|
||||
mlir_tablegen(OpAsmInterface.h.inc -gen-op-interface-decls)
|
||||
mlir_tablegen(OpAsmInterface.cpp.inc -gen-op-interface-defs)
|
||||
add_public_tablegen_target(MLIROpAsmInterfacesIncGen)
|
||||
add_dependencies(mlir-generic-headers MLIROpAsmInterfacesIncGen)
|
||||
|
||||
set(LLVM_TARGET_DEFINITIONS SymbolInterfaces.td)
|
||||
mlir_tablegen(SymbolInterfaces.h.inc -gen-op-interface-decls)
|
||||
mlir_tablegen(SymbolInterfaces.cpp.inc -gen-op-interface-defs)
|
||||
add_public_tablegen_target(MLIRSymbolInterfacesIncGen)
|
||||
add_dependencies(mlir-generic-headers MLIRSymbolInterfacesIncGen)
|
||||
add_mlir_interface(OpAsmInterface)
|
||||
add_mlir_interface(SymbolInterfaces)
|
||||
|
|
|
@ -31,7 +31,7 @@ add_mlir_library(MLIRIR
|
|||
|
||||
DEPENDS
|
||||
MLIRCallInterfacesIncGen
|
||||
MLIROpAsmInterfacesIncGen
|
||||
MLIROpAsmInterfaceIncGen
|
||||
MLIRSymbolInterfacesIncGen
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
|
|
Loading…
Reference in New Issue