Skip to content

Commit c6c7afd

Browse files
committed
[mlir][math] fix rsqrt test to not check sign of NaN
Hotfix for "[mlir][math] lower rsqrt to sqrt + fdiv (#91344)"
1 parent 0fb7546 commit c6c7afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ func.func @rsqrt() {
862862
%cst2 = arith.constant 0.0 : f32
863863
call @rsqrt_f32(%cst2) : (f32) -> ()
864864

865-
// CHECK: -nan
865+
// CHECK: nan
866866
%cst3 = arith.constant -1.0 : f32
867867
call @rsqrt_f32(%cst3) : (f32) -> ()
868868

0 commit comments

Comments
 (0)