Skip to content

Commit 40aac77

Browse files
authored
[mlir] Fix bazel after 077a796. (#160533)
1 parent 397efd4 commit 40aac77

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12622,6 +12622,15 @@ cc_library(
1262212622
],
1262312623
)
1262412624

12625+
td_library(
12626+
name = "MemOpInterfacesTdFiles",
12627+
srcs = ["include/mlir/Interfaces/MemOpInterfaces.td"],
12628+
includes = ["include"],
12629+
deps = [
12630+
":OpBaseTdFiles",
12631+
],
12632+
)
12633+
1262512634
td_library(
1262612635
name = "MemRefOpsTdFiles",
1262712636
srcs = [
@@ -12633,6 +12642,7 @@ td_library(
1263312642
":ArithOpsTdFiles",
1263412643
":CastInterfacesTdFiles",
1263512644
":ControlFlowInterfacesTdFiles",
12645+
":MemOpInterfacesTdFiles",
1263612646
":MemorySlotInterfacesTdFiles",
1263712647
":OpBaseTdFiles",
1263812648
":ShapedOpInterfacesTdFiles",
@@ -12641,6 +12651,17 @@ td_library(
1264112651
],
1264212652
)
1264312653

12654+
gentbl_cc_library(
12655+
name = "MemOpInterfacesIncGen",
12656+
tbl_outs = {
12657+
"include/mlir/Interfaces/MemOpInterfaces.h.inc": ["-gen-op-interface-decls"],
12658+
"include/mlir/Interfaces/MemOpInterfaces.cpp.inc": ["-gen-op-interface-defs"],
12659+
},
12660+
tblgen = ":mlir-tblgen",
12661+
td_file = "include/mlir/Interfaces/MemOpInterfaces.td",
12662+
deps = [":MemOpInterfacesTdFiles"],
12663+
)
12664+
1264412665
gentbl_cc_library(
1264512666
name = "MemRefBaseIncGen",
1264612667
tbl_outs = {
@@ -12671,6 +12692,19 @@ gentbl_cc_library(
1267112692
],
1267212693
)
1267312694

12695+
cc_library(
12696+
name = "MemOpInterfaces",
12697+
srcs = ["lib/Interfaces/MemOpInterfaces.cpp"],
12698+
hdrs = ["include/mlir/Interfaces/MemOpInterfaces.h"],
12699+
includes = ["include"],
12700+
deps = [
12701+
":DialectUtils",
12702+
":IR",
12703+
":Support",
12704+
":MemOpInterfacesIncGen",
12705+
],
12706+
)
12707+
1267412708
cc_library(
1267512709
name = "MemRefDialect",
1267612710
srcs = glob(
@@ -12700,6 +12734,7 @@ cc_library(
1270012734
":InferIntRangeInterface",
1270112735
":InferTypeOpInterface",
1270212736
":InliningUtils",
12737+
":MemOpInterfaces",
1270312738
":MemRefBaseIncGen",
1270412739
":MemRefOpsIncGen",
1270512740
":MemorySlotInterfaces",

0 commit comments

Comments
 (0)