[Mlir-commits] [mlir] [mlir][arith] Add printing regression tests (PR #98184)

Jakub Kuderski llvmlistbot at llvm.org
Tue Jul 9 09:24:11 PDT 2024


================
@@ -0,0 +1,47 @@
+// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
+// RUN:             --convert-func-to-llvm --convert-arith-to-llvm | \
+// RUN:   mlir-cpu-runner -e entry -entry-point-result=void \
+// RUN:                   --shared-libs=%mlir_c_runner_utils | \
+// RUN:   FileCheck %s --match-full-lines
+
+func.func @i1() {
+    // printing i1 values
+    // print(0 : i1) = '0'; print(1 : i1) = '1'; print(-1 : i1) = '1'
----------------
kuhar wrote:

nit: indentation

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


More information about the Mlir-commits mailing list