Skip to content

Commit b92f4d4

Browse files
authored
[bazel][mlir] Add missing dep for X86Vector (#135069)
Follow up fix to #133692
1 parent 989bc69 commit b92f4d4

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,10 @@ gentbl_cc_library(
22372237

22382238
td_library(
22392239
name = "X86VectorTdFiles",
2240-
srcs = ["include/mlir/Dialect/X86Vector/X86Vector.td"],
2240+
srcs = [
2241+
"include/mlir/Dialect/X86Vector/X86Vector.td",
2242+
"include/mlir/Dialect/X86Vector/X86VectorInterfaces.td",
2243+
],
22412244
includes = ["include"],
22422245
deps = [
22432246
":InferTypeOpInterfaceTdFiles",
@@ -2266,6 +2269,17 @@ gentbl_cc_library(
22662269
deps = [":X86VectorTdFiles"],
22672270
)
22682271

2272+
gentbl_cc_library(
2273+
name = "X86VectorInterfacesIncGen",
2274+
tbl_outs = {
2275+
"include/mlir/Dialect/X86Vector/X86VectorInterfaces.h.inc": ["-gen-op-interface-decls"],
2276+
"include/mlir/Dialect/X86Vector/X86VectorInterfaces.cpp.inc": ["-gen-op-interface-defs"],
2277+
},
2278+
tblgen = ":mlir-tblgen",
2279+
td_file = "include/mlir/Dialect/X86Vector/X86VectorInterfaces.td",
2280+
deps = [":X86VectorTdFiles"],
2281+
)
2282+
22692283
cc_library(
22702284
name = "X86VectorDialect",
22712285
srcs = ["lib/Dialect/X86Vector/IR/X86VectorDialect.cpp"],
@@ -2278,6 +2292,7 @@ cc_library(
22782292
":LLVMDialect",
22792293
":SideEffectInterfaces",
22802294
":X86VectorIncGen",
2295+
":X86VectorInterfacesIncGen",
22812296
],
22822297
)
22832298

0 commit comments

Comments
 (0)