[Mlir-commits] [mlir] [MLIR] Enhance Bytecode Conversion and Add Unit Tests (PR #108093)

Mehdi Amini llvmlistbot at llvm.org
Tue Sep 10 14:58:25 PDT 2024


================
@@ -36,3 +36,26 @@
   }) : () -> ()
   "bytecode.return"() : () -> ()
 }) : () -> ()
+
+
+// RUN: mlir-opt -allow-unregistered-dialect -emit-bytecode %s | mlir-opt -allow-unregistered-dialect | FileCheck %s
----------------
joker-eph wrote:

This line is not needed, it'll run the test a second time, the line at the top is enough.

What can be done though is adding the `--split-input-file` to `mlir-opt` and add `// -----` separators between modules in the file.

https://github.com/llvm/llvm-project/pull/108093


More information about the Mlir-commits mailing list