[memprof] Upgrade a unit test to MemProf Version 3 (#117063)
[llvm-project.git] / utils / bazel / llvm-project-overlay / mlir / test / Dialect / BUILD.bazel
blob285e67c7cb3b503ef57269a05faef4f72411a00e
1 load("//llvm:lit_test.bzl", "lit_test")
3 licenses(["notice"])
5 package(default_visibility = ["//visibility:public"])
8     lit_test(
9         name = "%s.test" % src,
10         srcs = [src],
11         data = [
12             "//llvm:llvm-symbolizer",
13             "//mlir:mlir-opt",
14             "//mlir:mlir-pdll",
15             "//mlir:mlir-reduce",
16             "//mlir:mlir-translate",
17             "//mlir/test:lit_data",
18         ] + glob([
19             "IRDL/*.irdl.mlir",
20             "Linalg/td/*.mlir",
21             "Linalg/transpose-matmul-*.mlir",
22             "LLVM/*-symbol-def.mlir",
23             "Transform/include/**/*.mlir",
24         ]),
25     )
26     for src in glob(
27         include = ["**/*.mlir"],
28         exclude = [
29             "IRDL/*.irdl.mlir",
30             "Linalg/td/*.mlir",
31             "Linalg/transpose-matmul-*.mlir",
32             "LLVM/*-symbol-def.mlir",
33             "Transform/*-symbol-decl-and-schedule.mlir",
34             "Transform/include/**/*.mlir",
35         ],
36     )