Skip to content

Commit 9633b3d

Browse files
committed
[mlir][bazel] Add config for FuncToEmitC
1 parent 1398893 commit 9633b3d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3902,6 +3902,7 @@ cc_library(
39023902
":ControlFlowToSPIRV",
39033903
":ConversionPassIncGen",
39043904
":ConvertToLLVM",
3905+
":FuncToEmitC",
39053906
":FuncToLLVM",
39063907
":FuncToSPIRV",
39073908
":GPUToGPURuntimeTransforms",
@@ -6834,6 +6835,32 @@ cc_library(
68346835
],
68356836
)
68366837

6838+
cc_library(
6839+
name = "FuncToEmitC",
6840+
srcs = glob([
6841+
"lib/Conversion/FuncToEmitC*.cpp",
6842+
"lib/Conversion/FuncToEmitC/*.h",
6843+
]),
6844+
hdrs = glob([
6845+
"include/mlir/Conversion/FuncToEmitC/*.h",
6846+
]),
6847+
includes = [
6848+
"include",
6849+
"lib/Conversion/FuncToEmitC",
6850+
],
6851+
deps = [
6852+
":ConversionPassIncGen",
6853+
":FuncDialect",
6854+
":EmitCDialect",
6855+
":IR",
6856+
":Pass",
6857+
":Support",
6858+
":TransformUtils",
6859+
":Transforms",
6860+
"//llvm:Support",
6861+
],
6862+
)
6863+
68376864
cc_library(
68386865
name = "FuncToSPIRV",
68396866
srcs = glob([

0 commit comments

Comments
 (0)