aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJohannes Reifferscheid <jreiffers@google.com>2023-11-23 15:02:44 +0100
committerJohannes Reifferscheid <jreiffers@google.com>2023-11-23 15:02:54 +0100
commitaaae104e282505add432ccc76a4adb674087190f (patch)
treefb1fe182021686614b0992433591fc7c808132d0 /utils
parent0bda20b8bec8e4fa26dd1ae5d408c5e137284817 (diff)
downloadllvm-aaae104e282505add432ccc76a4adb674087190f.zip
llvm-aaae104e282505add432ccc76a4adb674087190f.tar.gz
llvm-aaae104e282505add432ccc76a4adb674087190f.tar.bz2
[Bazel] Fixes for c43c88501e3bc273a7c1074a19e86dc305ad7234
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel18
1 files changed, 18 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 2ee4edf..ee844d9 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -589,6 +589,24 @@ mlir_c_api_cc_library(
)
mlir_c_api_cc_library(
+ name = "CAPITarget",
+ srcs = ["lib/CAPI/Target/LLVMIR.cpp"],
+ hdrs = ["include/mlir-c/Target/LLVMIR.h"],
+ capi_deps = [
+ ":CAPIIR",
+ ],
+ includes = ["include"],
+ deps = [
+ ":LLVMToLLVMIRTranslation",
+ ":Support",
+ ":ToLLVMIRTranslation",
+ ":ToLLVMIRTranslationRegistration",
+ "//llvm:Core",
+ "//llvm:Support",
+ ],
+)
+
+mlir_c_api_cc_library(
name = "CAPIGPU",
srcs = [
"lib/CAPI/Dialect/GPU.cpp",