Skip to content

Commit 6d99d1a

Browse files
authored
[mlir][bazel] Added a target for the CF dialect C API (llvm#137146)
1 parent 5717c5f commit 6d99d1a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,19 @@ mlir_c_api_cc_library(
504504
],
505505
)
506506

507+
mlir_c_api_cc_library(
508+
name = "CAPICF",
509+
srcs = ["lib/CAPI/Dialect/ControlFlow.cpp"],
510+
hdrs = ["include/mlir-c/Dialect/ControlFlow.h"],
511+
capi_deps = [
512+
":CAPIIR",
513+
],
514+
includes = ["include"],
515+
deps = [
516+
":ControlFlowDialect",
517+
],
518+
)
519+
507520
mlir_c_api_cc_library(
508521
name = "CAPIEmitC",
509522
srcs = [

0 commit comments

Comments
 (0)