Skip to content

Commit e29f228

Browse files
committed
actually fix the test
1 parent b394bab commit e29f228

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/test/Dialect/Arith/int-range-interface.mlir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,13 +1021,13 @@ func.func @noninteger_operation_result(%lb: index, %ub: index, %step: index, %co
10211021
%0 = "some_fp_op"() : () -> f32
10221022
// CHECK: [[OUTS:%.*]]:2 = scf.for
10231023
%outs:2 = scf.for %i = %lb to %ub step %step iter_args(%a = %c1_i32, %b = %0) -> (i32, f32) {
1024-
%1 = "some_int_op"() : () -> i32
1025-
scf.yield %1, %0 : i32, f32
1024+
%1:2 = "some_op"() : () -> (i32, f32)
1025+
scf.yield %1#0, %1#1 : i32, f32
10261026
}
10271027

10281028
// CHECK: [[RESULT:%.*]] = arith.select %{{.*}}, %c1_i32, [[OUTS]]#0
10291029
%result = arith.select %cond, %c1_i32, %outs#0 : i32
1030-
// CHECK: "use"([[RESULT]])
1031-
"use"(%result) : (i32) -> ()
1030+
// CHECK: "use"([[RESULT]], [[OUTS]]#1)
1031+
"use"(%result, %outs#1) : (i32, f32) -> ()
10321032
return
10331033
}

0 commit comments

Comments
 (0)