[llvm] [bazel][mlir] Add ConvertToSPIRV dep to mlir-vulkan-runner (PR #106285)
Jordan Rupprecht via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 13:51:13 PDT 2024
https://github.com/rupprecht created https://github.com/llvm/llvm-project/pull/106285
New dep needed for 2bf2468553f69c72680d138b91046d4c00d2c7a6
>From f6f18c431a190521169e21cd54e4358c3cf76a31 Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Tue, 27 Aug 2024 13:47:40 -0700
Subject: [PATCH] [bazel][mlir] Add ConvertToSPIRV dep to mlir-vulkan-runner
---
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index e204bbd2ba08f8..f594473f3cb149 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -5415,11 +5415,11 @@ cc_library(
hdrs = glob(["include/mlir/Dialect/LLVMIR/Transforms/*.h"]),
includes = ["include"],
deps = [
- ":DataLayoutInterfaces",
":Analysis",
+ ":DataLayoutInterfaces",
":FuncDialect",
- ":InliningUtils",
":IR",
+ ":InliningUtils",
":LLVMDialect",
":LLVMPassIncGen",
":NVVMDialect",
@@ -6041,13 +6041,13 @@ cc_library(
cc_library(
name = "GPUToGPURuntimeTransforms",
srcs = [
+ "lib/Conversion/GPUCommon/AttrToSPIRVConverter.cpp",
"lib/Conversion/GPUCommon/GPUOpsLowering.cpp",
"lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp",
- "lib/Conversion/GPUCommon/AttrToSPIRVConverter.cpp",
],
hdrs = [
- "include/mlir/Conversion/GPUCommon/GPUCommonPass.h",
"include/mlir/Conversion/GPUCommon/AttrToSPIRVConverter.h",
+ "include/mlir/Conversion/GPUCommon/GPUCommonPass.h",
"lib/Conversion/GPUCommon/GPUOpsLowering.h",
],
includes = ["include"],
@@ -6067,8 +6067,8 @@ cc_library(
":LLVMCommonConversion",
":LLVMDialect",
":MemRefDialect",
- ":SPIRVDialect",
":MemRefToLLVM",
+ ":SPIRVDialect",
":Support",
":VectorToLLVM",
"//llvm:Support",
@@ -9988,6 +9988,7 @@ cc_binary(
deps = [
":ArithDialect",
":BuiltinToLLVMIRTranslation",
+ ":ConvertToSPIRV",
":ExecutionEngineUtils",
":FuncDialect",
":FuncToLLVM",
More information about the llvm-commits
mailing list