Skip to content

Commit e86191a

Browse files
author
Xiang Li
committed
Update per comment.
1 parent 8c72844 commit e86191a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

mlir/test/Dialect/Arith/canonicalize.mlir

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,13 +2217,12 @@ func.func @test_mulf1(%arg0 : f32, %arg1 : f32) -> (f32) {
22172217
}
22182218

22192219
// CHECK-LABEL: @test_mulf2(
2220-
func.func @test_mulf2(%arg0 : f32, %arg1 : f32) -> (f32, f32) {
2220+
func.func @test_mulf2(%arg0 : f32) -> f32 {
22212221
// CHECK-NEXT: %[[C0:.+]] = arith.constant 0.000000e+00 : f32
2222-
// CHECK-NEXT: return %[[C0]], %[[C0]]
2222+
// CHECK-NEXT: return %[[C0]]
22232223
%c0 = arith.constant 0.0 : f32
2224-
%0 = arith.mulf %arg0, %c0 fastmath<nnan,ninf> : f32
2225-
%1 = arith.mulf %c0, %arg1 fastmath<nnan,ninf> : f32
2226-
return %0, %1 : f32, f32
2224+
%0 = arith.mulf %c0, %arg0 fastmath<nnan,ninf> : f32
2225+
return %0 : f32
22272226
}
22282227

22292228
// -----

0 commit comments

Comments
 (0)