[llvm] [mlir][bazel] Added a target for the CF dialect C API (PR #137146)
Sergei Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 02:30:27 PDT 2025
https://github.com/superbobry created https://github.com/llvm/llvm-project/pull/137146
None
>From 2f6be12cfcdbe9b35473429a3e72b2abe1dccfec Mon Sep 17 00:00:00 2001
From: Sergei Lebedev <slebedev at google.com>
Date: Thu, 24 Apr 2025 10:27:38 +0100
Subject: [PATCH] [mlir][bazel] Added a target for the CF dialect C API
---
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index b289eaa450d5c..f09a3ad92dfd5 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -504,6 +504,19 @@ mlir_c_api_cc_library(
],
)
+mlir_c_api_cc_library(
+ name = "CAPICF",
+ srcs = ["lib/CAPI/Dialect/ControlFlow.cpp"],
+ hdrs = ["include/mlir-c/Dialect/ControlFlow.h"],
+ capi_deps = [
+ ":CAPIIR",
+ ],
+ includes = ["include"],
+ deps = [
+ ":ControlFlowDialect",
+ ],
+)
+
mlir_c_api_cc_library(
name = "CAPIEmitC",
srcs = [
More information about the llvm-commits
mailing list