refine tdfiles in interface
This commit is contained in:
parent
4aa456585e
commit
70a7733278
|
@ -13,8 +13,10 @@ gentbl(
|
||||||
tblgen = "@llvm-project//mlir:mlir-tblgen",
|
tblgen = "@llvm-project//mlir:mlir-tblgen",
|
||||||
td_file = "ONNXOps.td",
|
td_file = "ONNXOps.td",
|
||||||
td_includes = ["."],
|
td_includes = ["."],
|
||||||
|
# td_relative_includes = ["../../"]
|
||||||
td_srcs = [
|
td_srcs = [
|
||||||
"ONNXOps.td.inc",
|
"ONNXOps.td.inc",
|
||||||
|
"//src/Interface:TdFiles",
|
||||||
# "//src/Interface:PromotableConstOperandsOpInterface.td",
|
# "//src/Interface:PromotableConstOperandsOpInterface.td",
|
||||||
# "//src/Interface:ResultTypeInferenceOpInterface.td",
|
# "//src/Interface:ResultTypeInferenceOpInterface.td",
|
||||||
# "//src/Interface:ShapeInferenceInterface.td",
|
# "//src/Interface:ShapeInferenceInterface.td",
|
||||||
|
|
|
@ -90,3 +90,8 @@ cc_library(
|
||||||
"@llvm-project//mlir:Shape",
|
"@llvm-project//mlir:Shape",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "TdFiles",
|
||||||
|
srcs = glob(["**/*.td"]),
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue