Skip to content

Commit 2dac2ab

Browse files
authored
[bazel][mlir] Port b8ba3c2 (#209854)
Add SCFToAffine target + deps
1 parent 889b2d6 commit 2dac2ab

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4430,6 +4430,7 @@ cc_library(
44304430
":PDLToPDLInterp",
44314431
":RaiseWasmToMLIR",
44324432
":ReconcileUnrealizedCasts",
4433+
":SCFToAffine",
44334434
":SCFToControlFlow",
44344435
":SCFToEmitC",
44354436
":SCFToGPU",
@@ -8318,6 +8319,26 @@ cc_library(
83188319
],
83198320
)
83208321

8322+
cc_library(
8323+
name = "SCFToAffine",
8324+
srcs = ["lib/Conversion/SCFToAffine/SCFToAffine.cpp"],
8325+
hdrs = ["include/mlir/Conversion/SCFToAffine/SCFToAffine.h"],
8326+
includes = ["include"],
8327+
deps = [
8328+
":AffineDialect",
8329+
":ArithDialect",
8330+
":ConversionPassIncGen",
8331+
":DataLayoutInterfaces",
8332+
":IR",
8333+
":Pass",
8334+
":SCFDialect",
8335+
":Support",
8336+
":TransformUtils",
8337+
":Transforms",
8338+
"//llvm:Support",
8339+
],
8340+
)
8341+
83218342
cc_library(
83228343
name = "SCFToControlFlow",
83238344
srcs = ["lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp"],

0 commit comments

Comments
 (0)