Skip to content

Commit 4019c36

Browse files
author
Xiang Li
committed
Use CHECK_DAG.
1 parent f43001f commit 4019c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Dialect/Arith/canonicalize.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,8 +2218,8 @@ func.func @test_mulf1(%arg0 : f32, %arg1 : f32) -> (f32) {
22182218

22192219
// CHECK-LABEL: @test_mulf2(
22202220
func.func @test_mulf2(%arg0 : f32) -> (f32, f32) {
2221-
// CHECK-NEXT: %[[C0:.+]] = arith.constant 0.000000e+00 : f32
2222-
// CHECK-NEXT: %[[C0n:.+]] = arith.constant -0.000000e+00 : f32
2221+
// CHECK-DAG: %[[C0:.+]] = arith.constant 0.000000e+00 : f32
2222+
// CHECK-DAG: %[[C0n:.+]] = arith.constant -0.000000e+00 : f32
22232223
// CHECK-NEXT: return %[[C0]], %[[C0n]]
22242224
%c0 = arith.constant 0.0 : f32
22252225
%c0n = arith.constant -0.0 : f32

0 commit comments

Comments
 (0)