We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26bc1c6 commit 0658853Copy full SHA for 0658853
mlir/test/Analysis/invalid-entry-block.mlir
@@ -0,0 +1,13 @@
1
+// Bug: https://github.com/llvm/llvm-project/issues/132894
2
+
3
+// RUN: not mlir-opt %s 2>&1 | FileCheck %s
4
5
+// CHECK: error: 'func.func' op entry block must have 1 arguments to match function signature
6
7
+module {
8
+ func.func @f(f32) {
9
+ %c0 = arith.constant 0 : index
10
+ return
11
+ }
12
+}
13
0 commit comments