Skip to content

Commit

Permalink
[mlir][bazel] Fix build after 5caae72
Browse files Browse the repository at this point in the history
  • Loading branch information
chsigg authored Dec 19, 2023
1 parent e879f44 commit 4c887fe
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5279,6 +5279,38 @@ gentbl_cc_library(
deps = [":PassBaseTdFiles"],
)

cc_library(
name = "GPUPipelines",
srcs = ["lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp"],
hdrs = ["include/mlir/Dialect/GPU/Pipelines/Passes.h"],
includes = ["include"],
local_defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"],
deps = [
":AffineToStandard",
":ArithToLLVM",
":FuncDialect",
":FuncToLLVM",
":GPUCommonTransforms",
":GPUDialect",
":GPUToNVVMTransforms",
":GPUTransforms",
":IndexToLLVM",
":LLVMDialect",
":LinalgTransforms",
":MathToLLVM",
":MemRefToLLVM",
":MemRefTransforms",
":NVGPUToNVVM",
":NVVMToLLVM",
":Pass",
":ReconcileUnrealizedCasts",
":SCFToControlFlow",
":Transforms",
":VectorToLLVM",
":VectorToSCF",
],
)

cc_library(
name = "GPUTransforms",
srcs = glob(
Expand Down Expand Up @@ -8816,6 +8848,7 @@ cc_library(
":FuncTransformsPassIncGen",
":GPUDialect",
":GPUPassIncGen",
":GPUPipelines",
":GPUToGPURuntimeTransforms",
":GPUToNVVMTransforms",
":GPUToROCDLTransforms",
Expand Down

0 comments on commit 4c887fe

Please sign in to comment.