[mlir][Bazel] Adjust BUILD file for aa2a96a24a

This commit is contained in:
Adrian Kuegel 2024-01-12 07:17:33 +00:00
parent d7ab65f8f5
commit 528cd28de8

View File

@ -459,17 +459,42 @@ cc_library(
],
)
gentbl_cc_library(
name = "TestTilingInterfaceTransformOpsIncGen",
includes = ["lib/Interfaces/TilingInterface"],
strip_include_prefix = "lib",
tbl_outs = [
(
["-gen-op-decls"],
"lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.h.inc",
),
(
["-gen-op-defs"],
"lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp.inc",
),
],
tblgen = "//mlir:mlir-tblgen",
td_file = "lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.td",
deps = [
"//mlir:SCFTdFiles",
"//mlir:TransformDialectTdFiles",
],
)
cc_library(
name = "TestTilingInterface",
srcs = glob(["lib/Interfaces/TilingInterface/*.cpp"]),
includes = ["lib/Dialect/Test"],
includes = ["lib/Interfaces/TilingInterface"],
deps = [
":TestTilingInterfaceTransformOpsIncGen",
"//llvm:Support",
"//mlir:AffineDialect",
"//mlir:ArithDialect",
"//mlir:DialectUtils",
"//mlir:FuncDialect",
"//mlir:GPUDialect",
"//mlir:IR",
"//mlir:IndexDialect",
"//mlir:LinalgDialect",
"//mlir:LinalgTransforms",
"//mlir:MemRefDialect",
@ -479,6 +504,7 @@ cc_library(
"//mlir:TensorDialect",
"//mlir:TensorTilingInterfaceImpl",
"//mlir:TilingInterface",
"//mlir:TransformDialect",
"//mlir:Transforms",
],
)