Skip to content

Commit 0a09f64

Browse files
committed
[mlir] Fix test after 2d4e856
The test CHECKs for `-nan`, but printing the sign is optional. This change removes the sign because it has no meaning.
1 parent 51f3781 commit 0a09f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func.func @powf() {
115115
%a_p = arith.constant 2.0 : f64
116116
call @func_powff64(%a, %a_p) : (f64, f64) -> ()
117117

118-
// CHECK: -nan
118+
// CHECK: nan
119119
%b = arith.constant -3.0 : f64
120120
%b_p = arith.constant 3.0 : f64
121121
call @func_powff64(%b, %b_p) : (f64, f64) -> ()
@@ -140,7 +140,7 @@ func.func @powf() {
140140
%f_p = arith.constant 1.2 : f64
141141
call @func_powff64(%f, %f_p) : (f64, f64) -> ()
142142

143-
// CHECK: -nan
143+
// CHECK: nan
144144
%g = arith.constant 0xff80000000000000 : f64
145145
call @func_powff64(%g, %g) : (f64, f64) -> ()
146146

0 commit comments

Comments
 (0)