refine tdfiles in interface

This commit is contained in:
colin 2020-10-14 11:53:46 +08:00
parent 4aa456585e
commit 70a7733278
2 changed files with 8 additions and 1 deletions

View File

@ -13,8 +13,10 @@ gentbl(
tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "ONNXOps.td",
td_includes = ["."],
# td_relative_includes = ["../../"]
td_srcs = [
"ONNXOps.td.inc",
"//src/Interface:TdFiles",
# "//src/Interface:PromotableConstOperandsOpInterface.td",
# "//src/Interface:ResultTypeInferenceOpInterface.td",
# "//src/Interface:ShapeInferenceInterface.td",

View File

@ -89,4 +89,9 @@ cc_library(
"@llvm-project//mlir:IR",
"@llvm-project//mlir:Shape",
],
)
)
filegroup(
name = "TdFiles",
srcs = glob(["**/*.td"]),
)