Skip to content

Commit 9dca7dd

Browse files
committed
Fix MLIR BUILD
1 parent 954d00e commit 9dca7dd

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4848,6 +4848,7 @@ cc_library(
48484848
":SparseTensorTransformOps",
48494849
":TensorTransformOps",
48504850
":TransformDebugExtension",
4851+
":TransformIRDLExtension",
48514852
":TransformLoopExtension",
48524853
":TransformPDLExtension",
48534854
":UBToLLVM",
@@ -12073,6 +12074,45 @@ cc_library(
1207312074
],
1207412075
)
1207512076

12077+
gentbl_cc_library(
12078+
name = "TransformIRDLExtensionOpsIncGen",
12079+
tbl_outs = [
12080+
(
12081+
[
12082+
"-gen-op-decls",
12083+
],
12084+
"include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.h.inc",
12085+
),
12086+
(
12087+
[
12088+
"-gen-op-defs",
12089+
],
12090+
"include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.cpp.inc",
12091+
),
12092+
],
12093+
tblgen = ":mlir-tblgen",
12094+
td_file = "include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.td",
12095+
deps = [":TransformPDLExtensionTdFiles"],
12096+
)
12097+
12098+
cc_library(
12099+
name = "TransformIRDLExtension",
12100+
srcs = glob(["lib/Dialect/Transform/IRDLExtension/*.cpp"]),
12101+
hdrs = glob(["include/mlir/Dialect/Transform/IRDLExtension/*.h"]),
12102+
deps = [
12103+
":IR",
12104+
":IRDLDialect",
12105+
":IRDLInterfacesIncGen",
12106+
":Rewrite",
12107+
":SideEffectInterfaces",
12108+
":Support",
12109+
":TransformDialect",
12110+
":TransformDialectInterfaces",
12111+
":TransformIRDLExtensionOpsIncGen",
12112+
"//llvm:Support",
12113+
],
12114+
)
12115+
1207612116
td_library(
1207712117
name = "TransformDebugExtensionTdFiles",
1207812118
srcs = glob(["include/mlir/Dialect/Transform/DebugExtension/*.td"]),

0 commit comments

Comments
 (0)