Skip to content

Commit fa3d7bb

Browse files
AviadCoAnthony Tran
authored andcommitted
[mlir][bazel]: Add FuncUtil rule in bazel files (llvm#145463)
1 parent ebe388a commit fa3d7bb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4483,6 +4483,24 @@ cc_library(
44834483
],
44844484
)
44854485

4486+
cc_library(
4487+
name = "FuncUtils",
4488+
srcs = glob(
4489+
include = ["lib/Dialect/Func/Utils/*.cpp"],
4490+
),
4491+
hdrs = [
4492+
"include/mlir/Dialect/Func/Utils/Utils.h",
4493+
],
4494+
includes = ["include"],
4495+
deps = [
4496+
":Analysis",
4497+
":IR",
4498+
":FuncDialect",
4499+
"//llvm:Support",
4500+
],
4501+
copts = mlir_copts,
4502+
)
4503+
44864504
td_library(
44874505
name = "FuncTransformOpsTdFiles",
44884506
srcs = [
@@ -4528,6 +4546,7 @@ cc_library(
45284546
":TransformDialect",
45294547
":TransformDialectInterfaces",
45304548
":TransformUtils",
4549+
":FuncUtils",
45314550
],
45324551
)
45334552

0 commit comments

Comments
 (0)