Skip to content

Commit 864071d

Browse files
Bazel fixes for a778930 (#128783)
1 parent 789bfdc commit 864071d

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

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

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,40 @@ cc_library(
370370
],
371371
)
372372

373+
td_library(
374+
name = "RelayoutOpInterfaceTdFiles",
375+
srcs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.td"],
376+
includes = ["include"],
377+
deps = [
378+
":DestinationStyleOpInterfaceTdFiles"
379+
],
380+
)
381+
382+
gentbl_cc_library(
383+
name = "RelayoutOpInterfaceIncGen",
384+
tbl_outs = [
385+
(
386+
["-gen-op-interface-decls"],
387+
"include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h.inc",
388+
),
389+
(
390+
["-gen-op-interface-defs"],
391+
"include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.cpp.inc",
392+
),
393+
],
394+
tblgen = ":mlir-tblgen",
395+
td_file = "include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.td",
396+
deps = [
397+
":RelayoutOpInterfaceTdFiles",
398+
],
399+
)
400+
401+
cc_library(
402+
name = "RelayoutOpInterface",
403+
hdrs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h"],
404+
deps = [":RelayoutOpInterfaceIncGen"],
405+
)
406+
373407
cc_library(
374408
name = "IR",
375409
srcs = glob([
@@ -7858,9 +7892,9 @@ cc_library(
78587892
":InferIntRangeInterface",
78597893
":InferTypeOpInterface",
78607894
":InliningUtils",
7861-
":LinalgInterfaces",
78627895
":LoopLikeInterface",
78637896
":ParallelCombiningOpInterface",
7897+
":RelayoutOpInterface",
78647898
":ShapedOpInterfaces",
78657899
":SideEffectInterfaces",
78667900
":SubsetOpInterface",
@@ -11141,6 +11175,7 @@ td_library(
1114111175
"include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
1114211176
"include/mlir/Dialect/Linalg/IR/LinalgOps.td",
1114311177
"include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td",
11178+
"include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.td",
1114411179
],
1114511180
includes = ["include"],
1114611181
deps = [
@@ -11153,6 +11188,7 @@ td_library(
1115311188
":SideEffectInterfacesTdFiles",
1115411189
":TilingInterfaceTdFiles",
1115511190
":ViewLikeInterfaceTdFiles",
11191+
":RelayoutOpInterfaceIncGen",
1115611192
],
1115711193
)
1115811194

@@ -11564,6 +11600,7 @@ cc_library(
1156411600
":InferTypeOpInterface",
1156511601
":LinalgInterfacesIncGen",
1156611602
":LinalgStructuredOpsIncGen",
11603+
":RelayoutOpInterfaceIncGen",
1156711604
":Support",
1156811605
":ViewLikeInterface",
1156911606
],
@@ -11604,6 +11641,7 @@ cc_library(
1160411641
":LinalgNamedStructuredOpsYamlIncGen",
1160511642
":LinalgOpsIncGen",
1160611643
":LinalgRelayoutOpsIncGen",
11644+
":RelayoutOpInterfaceIncGen",
1160711645
":LinalgStructuredOpsIncGen",
1160811646
":MathDialect",
1160911647
":MemRefDialect",

0 commit comments

Comments
 (0)