Skip to content

Commit f84bc1c

Browse files
committed
Fix after 2b8f887
1 parent ac9e4e9 commit f84bc1c

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

Diff for: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

+50
Original file line numberDiff line numberDiff line change
@@ -7238,9 +7238,11 @@ gentbl_cc_library(
72387238
td_library(
72397239
name = "PtrTdFiles",
72407240
srcs = [
7241+
"include/mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.td",
72417242
"include/mlir/Dialect/Ptr/IR/PtrAttrDefs.td",
72427243
"include/mlir/Dialect/Ptr/IR/PtrDialect.td",
72437244
"include/mlir/Dialect/Ptr/IR/PtrOps.td",
7245+
"include/mlir/Dialect/Ptr/IR/PtrEnums.td",
72447246
],
72457247
includes = ["include"],
72467248
deps = [
@@ -7278,6 +7280,52 @@ gentbl_cc_library(
72787280
],
72797281
)
72807282

7283+
gentbl_cc_library(
7284+
name = "PtrOpsEnumsGen",
7285+
tbl_outs = [
7286+
(
7287+
["-gen-enum-decls"],
7288+
"include/mlir/Dialect/Ptr/IR/PtrOpsEnums.h.inc",
7289+
),
7290+
(
7291+
["-gen-enum-defs"],
7292+
"include/mlir/Dialect/Ptr/IR/PtrOpsEnums.cpp.inc",
7293+
),
7294+
],
7295+
tblgen = ":mlir-tblgen",
7296+
td_file = "include/mlir/Dialect/Ptr/IR/PtrEnums.td",
7297+
deps = [
7298+
":PtrTdFiles",
7299+
],
7300+
)
7301+
7302+
gentbl_cc_library(
7303+
name = "PtrMemorySpaceInterfacesIncGen",
7304+
tbl_outs = [
7305+
(
7306+
["-gen-op-interface-decls"],
7307+
"include/mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.h.inc",
7308+
),
7309+
(
7310+
["-gen-op-interface-defs"],
7311+
"include/mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.cpp.inc",
7312+
),
7313+
(
7314+
["-gen-attr-interface-decls"],
7315+
"include/mlir/Dialect/Ptr/IR/MemorySpaceAttrInterfaces.h.inc",
7316+
),
7317+
(
7318+
["-gen-attr-interface-defs"],
7319+
"include/mlir/Dialect/Ptr/IR/MemorySpaceAttrInterfaces.cpp.inc",
7320+
),
7321+
],
7322+
tblgen = ":mlir-tblgen",
7323+
td_file = "include/mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.td",
7324+
deps = [
7325+
":PtrTdFiles",
7326+
],
7327+
)
7328+
72817329
gentbl_cc_library(
72827330
name = "PtrOpsIncGen",
72837331
tbl_outs = [
@@ -7334,6 +7382,8 @@ cc_library(
73347382
":InliningUtils",
73357383
":PtrAttrsIncGen",
73367384
":PtrDialectIncGen",
7385+
":PtrMemorySpaceInterfacesIncGen",
7386+
":PtrOpsEnumsGen",
73377387
":PtrOpsIncGen",
73387388
"//llvm:Support",
73397389
],

Diff for: utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ td_library(
124124
"//mlir:MemorySlotInterfacesTdFiles",
125125
"//mlir:OpBaseTdFiles",
126126
"//mlir:PolynomialTdFiles",
127+
"//mlir:PtrTdFiles",
127128
"//mlir:SideEffectInterfacesTdFiles",
128129
],
129130
)
@@ -430,6 +431,7 @@ cc_library(
430431
"//mlir:MemorySlotInterfaces",
431432
"//mlir:Pass",
432433
"//mlir:PolynomialDialect",
434+
"//mlir:PtrDialect",
433435
"//mlir:Reducer",
434436
"//mlir:SideEffectInterfaces",
435437
"//mlir:Support",

0 commit comments

Comments
 (0)