[bazel] Port g95b4e88b1db3

This commit is contained in:
Benjamin Kramer 2022-02-27 00:11:42 +01:00
parent cbe9911845
commit 20517719a9
1 changed files with 22 additions and 0 deletions

View File

@ -8393,6 +8393,26 @@ cc_library(
],
)
cc_library(
name = "PDLLCodeGen",
srcs = glob(
[
"lib/Tools/PDLL/CodeGen/*.cpp",
"lib/Tools/PDLL/CodeGen/*.h",
],
),
hdrs = glob(["include/mlir/Tools/PDLL/CodeGen/*.h"]),
includes = ["include"],
deps = [
":IR",
":PDLDialect",
":PDLLAST",
":Parser",
":Support",
"//llvm:Support",
],
)
cc_library(
name = "PDLLParser",
srcs = glob(
@ -8417,7 +8437,9 @@ cc_binary(
"tools/mlir-pdll/mlir-pdll.cpp",
],
deps = [
":IR",
":PDLLAST",
":PDLLCodeGen",
":PDLLParser",
":Support",
"//llvm:Support",