brintos

brintos / llvm-project-archived public Read only

0
0
Text · 619 B · b7b2b4e Raw
21 lines · plain
1// UNSUPPORTED: system-windows2// RUN: mlir-reduce %s -reduction-tree='traversal-mode=0 test=%S/failure-test.sh' | FileCheck %s3// "test.op_crash_long" should be replaced with a shorter form "test.op_crash_short".4 5// CHECK-NOT: func @simple1() {6func.func @simple1() {7  return8}9 10// CHECK-LABEL: func @simple2(%arg0: i32, %arg1: i32, %arg2: i32) {11func.func @simple2(%arg0: i32, %arg1: i32, %arg2: i32) {12  // CHECK-LABEL: %0 = "test.op_crash_short"() : () -> i3213  %0 = "test.op_crash_long" (%arg0, %arg1, %arg2) : (i32, i32, i32) -> i3214  return15}16 17// CHECK-NOT: func @simple5() {18func.func @simple5() {19  return20}21