[mlir][Bazel] Fix bazel build.

This commit is contained in:
Adrian Kuegel 2022-08-24 10:13:28 +02:00
parent 992e10a3fc
commit 9ef41ecb2a
1 changed files with 5 additions and 1 deletions

View File

@ -234,6 +234,10 @@ gentbl_cc_library(
["-gen-pass-decls"],
"TableGen/PassGenTest.h.inc",
),
(
["-gen-pass-defs"],
"TableGen/PassGenTest.cpp.inc",
),
],
tblgen = "//mlir:mlir-tblgen",
td_file = "TableGen/passes.td",
@ -299,8 +303,8 @@ cc_test(
"//llvm:gtest_main",
"//mlir:AffineAnalysis",
"//mlir:Analysis",
"//mlir:Parser",
"//mlir:IR",
"//mlir:Parser",
],
)