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 720b851 commit 8e0b6ccCopy full SHA for 8e0b6cc
mlir/test/mlir-reduce/replace-operands.mlir
@@ -0,0 +1,13 @@
1
+// RUN: mlir-reduce %s -reduction-tree='traversal-mode=0 test=%S/failure-test.sh replace-operands=true' | FileCheck %s
2
+
3
+// CHECK-LABEL: func.func @main
4
+func.func @main() {
5
+ // CHECK-NEXT: %[[RESULT:.*]] = arith.constant 2 : i32
6
+ // CHECK-NEXT: {{.*}} = "test.op_crash"(%[[RESULT]], %[[RESULT]]) : (i32, i32) -> i32
7
+ // CHECK-NEXT return
8
9
+ %c1 = arith.constant 3 : i32
10
+ %c2 = arith.constant 2 : i32
11
+ %2 = "test.op_crash" (%c1, %c2) : (i32, i32) -> i32
12
+ return
13
+}
0 commit comments