Skip to content

Commit a21f9bf

Browse files
authored
[bazel]Fix Bazel build past bc29fc9 (#119874)
1 parent 7c9404c commit a21f9bf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5167,6 +5167,7 @@ cc_library(
51675167
":FuncDialect",
51685168
":FunctionInterfaces",
51695169
":GPUDialect",
5170+
":GPUUtils",
51705171
":IR",
51715172
":LinalgDialect",
51725173
":MemRefDialect",
@@ -5795,6 +5796,7 @@ cc_library(
57955796
":ExecutionEngineUtils",
57965797
":FuncDialect",
57975798
":GPUDialect",
5799+
":GPUUtils",
57985800
":GPUPassIncGen",
57995801
":GPUToLLVMIRTranslation",
58005802
":IR",
@@ -5829,6 +5831,26 @@ cc_library(
58295831
]),
58305832
)
58315833

5834+
cc_library(
5835+
name = "GPUUtils",
5836+
srcs = glob(
5837+
[
5838+
"lib/Dialect/GPU/Utils/*.cpp",
5839+
],
5840+
),
5841+
hdrs = glob(["include/mlir/Dialect/GPU/Utils/*.h"]),
5842+
includes = ["include"],
5843+
deps = [
5844+
":AffineDialect",
5845+
":ArithDialect",
5846+
":GPUDialect",
5847+
":IR",
5848+
":Support",
5849+
":VectorDialect",
5850+
"//llvm:Support",
5851+
],
5852+
)
5853+
58325854
td_library(
58335855
name = "GPUTransformOpsTdFiles",
58345856
srcs = [
@@ -6188,6 +6210,7 @@ cc_library(
61886210
":FuncToLLVM",
61896211
":GPUCommonTransforms",
61906212
":GPUDialect",
6213+
":GPUUtils",
61916214
":GPUTransforms",
61926215
":IR",
61936216
":LLVMCommonConversion",

0 commit comments

Comments
 (0)