Skip to content

Commit 2051771

Browse files
committed
[bazel] Port g95b4e88b1db3
1 parent cbe9911 commit 2051771

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8393,6 +8393,26 @@ cc_library(
83938393
],
83948394
)
83958395

8396+
cc_library(
8397+
name = "PDLLCodeGen",
8398+
srcs = glob(
8399+
[
8400+
"lib/Tools/PDLL/CodeGen/*.cpp",
8401+
"lib/Tools/PDLL/CodeGen/*.h",
8402+
],
8403+
),
8404+
hdrs = glob(["include/mlir/Tools/PDLL/CodeGen/*.h"]),
8405+
includes = ["include"],
8406+
deps = [
8407+
":IR",
8408+
":PDLDialect",
8409+
":PDLLAST",
8410+
":Parser",
8411+
":Support",
8412+
"//llvm:Support",
8413+
],
8414+
)
8415+
83968416
cc_library(
83978417
name = "PDLLParser",
83988418
srcs = glob(
@@ -8417,7 +8437,9 @@ cc_binary(
84178437
"tools/mlir-pdll/mlir-pdll.cpp",
84188438
],
84198439
deps = [
8440+
":IR",
84208441
":PDLLAST",
8442+
":PDLLCodeGen",
84218443
":PDLLParser",
84228444
":Support",
84238445
"//llvm:Support",

0 commit comments

Comments
 (0)