Skip to content

Commit 42ce5c1

Browse files
authored
[bazel] Restore MLIR bytecode tests. (llvm#191938)
These seemed to have gotten removed here.
1 parent 93871c5 commit 42ce5c1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

  • utils/bazel/llvm-project-overlay/mlir/test/Bytecode
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
load("//llvm:lit_test.bzl", "lit_test")
2+
3+
licenses(["notice"])
4+
5+
package(default_visibility = ["//visibility:public"])
6+
7+
[
8+
lit_test(
9+
name = "%s.test" % src,
10+
srcs = [src],
11+
data = [
12+
"//llvm:llvm-strings",
13+
"//mlir:mlir-opt",
14+
"//mlir/test:lit_data",
15+
] + glob(["**/*.mlirbc"]),
16+
)
17+
for src in glob(["**/*.mlir"])
18+
]

0 commit comments

Comments
 (0)