[llvm] [bazel] Restore MLIR bytecode tests. (PR #191938)

Jacques Pienaar via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 20:59:42 PDT 2026


https://github.com/jpienaar created https://github.com/llvm/llvm-project/pull/191938

These seemed to have gotten removed here.

>From 2e1259a4f90023d7bccee56825dbd45f76ade211 Mon Sep 17 00:00:00 2001
From: Jacques Pienaar <jacques+gh at japienaar.info>
Date: Tue, 14 Apr 2026 03:58:13 +0000
Subject: [PATCH] [bazel] Restore MLIR bytecode tests.

These seemed to have gotten removed here.
---
 .../mlir/test/Bytecode/BUILD.bazel             | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel

diff --git a/utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel
new file mode 100644
index 0000000000000..8f7926e3e7131
--- /dev/null
+++ b/utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel
@@ -0,0 +1,18 @@
+load("//llvm:lit_test.bzl", "lit_test")
+
+licenses(["notice"])
+
+package(default_visibility = ["//visibility:public"])
+
+[
+    lit_test(
+        name = "%s.test" % src,
+        srcs = [src],
+        data = [
+	    "//llvm:llvm-strings",
+            "//mlir:mlir-opt",
+            "//mlir/test:lit_data",
+        ] + glob(["**/*.mlirbc"]),
+    )
+    for src in glob(["**/*.mlir"])
+]



More information about the llvm-commits mailing list