Skip to content

Commit 4c887fe

Browse files
authored
[mlir][bazel] Fix build after 5caae72
1 parent e879f44 commit 4c887fe

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5279,6 +5279,38 @@ gentbl_cc_library(
52795279
deps = [":PassBaseTdFiles"],
52805280
)
52815281

5282+
cc_library(
5283+
name = "GPUPipelines",
5284+
srcs = ["lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp"],
5285+
hdrs = ["include/mlir/Dialect/GPU/Pipelines/Passes.h"],
5286+
includes = ["include"],
5287+
local_defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"],
5288+
deps = [
5289+
":AffineToStandard",
5290+
":ArithToLLVM",
5291+
":FuncDialect",
5292+
":FuncToLLVM",
5293+
":GPUCommonTransforms",
5294+
":GPUDialect",
5295+
":GPUToNVVMTransforms",
5296+
":GPUTransforms",
5297+
":IndexToLLVM",
5298+
":LLVMDialect",
5299+
":LinalgTransforms",
5300+
":MathToLLVM",
5301+
":MemRefToLLVM",
5302+
":MemRefTransforms",
5303+
":NVGPUToNVVM",
5304+
":NVVMToLLVM",
5305+
":Pass",
5306+
":ReconcileUnrealizedCasts",
5307+
":SCFToControlFlow",
5308+
":Transforms",
5309+
":VectorToLLVM",
5310+
":VectorToSCF",
5311+
],
5312+
)
5313+
52825314
cc_library(
52835315
name = "GPUTransforms",
52845316
srcs = glob(
@@ -8816,6 +8848,7 @@ cc_library(
88168848
":FuncTransformsPassIncGen",
88178849
":GPUDialect",
88188850
":GPUPassIncGen",
8851+
":GPUPipelines",
88198852
":GPUToGPURuntimeTransforms",
88208853
":GPUToNVVMTransforms",
88218854
":GPUToROCDLTransforms",

0 commit comments

Comments
 (0)