[Mlir-commits] [mlir] Print region argument only when sufficient number of args are present in body (PR #133167)

Mehdi Amini llvmlistbot at llvm.org
Thu Mar 27 13:50:46 PDT 2025


================
@@ -0,0 +1,17 @@
+// Bug: https://github.com/llvm/llvm-project/issues/132894
+
+// RUN: mlir-opt %s | FileCheck %s
+
+// CHECK: module {
+// CHECK:   spirv.func @f() "None" {
+// CHECK:     %c0 = arith.constant 0 : index
+// CHECK:     spirv.Return
+// CHECK:   }
+// CHECK: }
----------------
joker-eph wrote:

Not clear to me why we need all these checks?

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


More information about the Mlir-commits mailing list