Skip to content

Commit fbd0565

Browse files
committed
[bazel] Port db42345
1 parent eef4b5a commit fbd0565

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,6 +3419,7 @@ cc_library(
34193419
deps = [
34203420
":AffineUtils",
34213421
":Analysis",
3422+
":DialectUtils",
34223423
":FunctionInterfaces",
34233424
":GPUDialect",
34243425
":GPUUtils",
@@ -8988,6 +8989,7 @@ cc_binary(
89888989
"//mlir/test:TestTransforms",
89898990
"//mlir/test:TestVector",
89908991
"//mlir/test:TestVectorToSPIRV",
8992+
"//mlir/test:TestXeGPU",
89918993
],
89928994
)
89938995

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,3 +1159,19 @@ cc_library(
11591159
"//mlir:Transforms",
11601160
],
11611161
)
1162+
1163+
cc_library(
1164+
name = "TestXeGPU",
1165+
srcs = glob(["lib/Dialect/XeGPU/*.cpp"]),
1166+
includes = ["lib/Dialect/Test"],
1167+
deps = [
1168+
"//mlir:GPUDialect",
1169+
"//mlir:IR",
1170+
"//mlir:MemRefDialect",
1171+
"//mlir:Pass",
1172+
"//mlir:TransformUtils",
1173+
"//mlir:VectorTransforms",
1174+
"//mlir:XeGPUDialect",
1175+
"//mlir:XeGPUTransforms",
1176+
],
1177+
)

0 commit comments

Comments
 (0)