Skip to content

Commit 3e4dbd2

Browse files
committed
[bazel] Port llvm#150146: xegpu/sliceattr
1 parent af54757 commit 3e4dbd2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3631,21 +3631,35 @@ gentbl_cc_library(
36313631
deps = [":XeGPUAttrTdFiles"],
36323632
)
36333633

3634+
gentbl_cc_library(
3635+
name = "XeGPUAttrInterfaceIncGen",
3636+
tbl_outs = {
3637+
"include/mlir/Dialect/XeGPU/IR/XeGPUAttrInterface.h.inc": ["-gen-attr-interface-decls"],
3638+
"include/mlir/Dialect/XeGPU/IR/XeGPUAttrInterface.cpp.inc": ["-gen-attr-interface-defs"],
3639+
},
3640+
tblgen = ":mlir-tblgen",
3641+
td_file = "include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td",
3642+
deps = [":XeGPUAttrTdFiles"],
3643+
)
3644+
36343645
cc_library(
36353646
name = "XeGPUDialect",
36363647
srcs = glob(["lib/Dialect/XeGPU/IR/*.cpp"]),
36373648
hdrs = glob(["include/mlir/Dialect/XeGPU/IR/*.h"]),
36383649
includes = ["include"],
36393650
deps = [
3651+
":AffineUtils",
36403652
":ArithDialect",
36413653
":ArithUtils",
36423654
":BytecodeOpInterface",
36433655
":DialectUtils",
36443656
":IR",
3657+
":IndexDialect",
36453658
":ShapedOpInterfaces",
36463659
":SideEffectInterfaces",
36473660
":VectorDialect",
36483661
":ViewLikeInterface",
3662+
":XeGPUAttrInterfaceIncGen",
36493663
":XeGPUEnumsIncGen",
36503664
":XeGPUIncGen",
36513665
"//llvm:Support",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,11 +1204,13 @@ cc_library(
12041204
deps = [
12051205
"//mlir:GPUDialect",
12061206
"//mlir:IR",
1207+
"//mlir:IndexDialect",
12071208
"//mlir:MemRefDialect",
12081209
"//mlir:Pass",
12091210
"//mlir:TransformUtils",
12101211
"//mlir:VectorTransforms",
12111212
"//mlir:XeGPUDialect",
12121213
"//mlir:XeGPUTransforms",
1214+
"//mlir:XeGPUUtils",
12131215
],
12141216
)

0 commit comments

Comments
 (0)