Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorThomas Raoux <thomasraoux@google.com>2022-04-15 07:07:46 +0300
committerThomas Raoux <thomasraoux@google.com>2022-04-15 07:29:32 +0300
commitfa2762a251f316d2a83f12a3147494ecfd311a6e (patch)
treebe38d65129c4c23360de02f476123f20fac969f4 /utils
parentf9486f213975ffdcf794036d0785f594d13ad612 (diff)
[mlir] Update bazel file after adding nvgpu to nvvm conversion
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 65096ccd6891..fa44a3a738b2 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2395,6 +2395,7 @@ cc_library(
":MathToSPIRV",
":MemRefToLLVM",
":MemRefToSPIRV",
+ ":NVGPUToNVVM",
":OpenACCToLLVM",
":OpenACCToSCF",
":OpenMPToLLVM",
@@ -3589,6 +3590,28 @@ cc_library(
)
cc_library(
+ name = "NVGPUToNVVM",
+ srcs = glob([
+ "lib/Conversion/NVGPUToNVVM/*.cpp",
+ "lib/Conversion/NVGPUToNVVM/*.h",
+ ]) + [":ConversionPassDetail"],
+ hdrs = glob([
+ "include/mlir/Conversion/NVGPUToNVVM/*.h",
+ ]),
+ includes = ["include"],
+ deps = [
+ ":ConversionPassIncGen",
+ ":IR",
+ ":LLVMCommonConversion",
+ ":NVGPU",
+ ":NVVMDialect",
+ ":Pass",
+ ":Transforms",
+ "//llvm:Support",
+ ],
+)
+
+cc_library(
name = "VectorToROCDL",
srcs = [
"lib/Conversion/VectorToROCDL/VectorToROCDL.cpp",
@@ -6050,6 +6073,7 @@ cc_library(
":MemRefToSPIRV",
":MemRefTransforms",
":NVGPU",
+ ":NVGPUToNVVM",
":NVVMDialect",
":OpenACCDialect",
":OpenMPDialect",