Skip to content

Commit 3be05d8

Browse files
committed
[MLIR] Fix test on Windows
Windows folds to 1.01563 and linux to 1.01562, let's just check the prefix here.
1 parent b9b8333 commit 3be05d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/test/mlir-cpu-runner/expand-arith-ops.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func.func @main() {
2424
// Note: this is a tie (low 16 bits are 0x8000). We expect the rounding behavior
2525
// to break ties "to nearest-even", which in this case means upwards,
2626
// since bit 16 is set.
27-
// CHECK-NEXT: 1.01562
27+
// CHECK-NEXT: 1.0156
2828
%value_1_01172_I = arith.constant 0x3f818000 : i32
2929
%value_1_01172_F = arith.bitcast %value_1_01172_I : i32 to f32
3030
call @trunc_bf16(%value_1_01172_F): (f32) -> ()

0 commit comments

Comments
 (0)