[Mlir-commits] [mlir] Print region argument only when sufficient number of args are present in body (PR #133167)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Mar 27 16:52:40 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: }
+
+module {
+ spirv.func @f(f32) "None" {
----------------
hiraditya wrote:
makes sense. this test was from the bug filed but i can update the test.
https://github.com/llvm/llvm-project/pull/133167
More information about the Mlir-commits
mailing list