diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-05-28 06:40:18 +0000 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2025-05-28 06:49:04 +0000 |
| commit | 19fd098446b07f8b7edc823edbadee971c7e6e5e (patch) | |
| tree | 7a6acf0e15919154d43086f7ad8e65cdb48d7f03 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 04a67d5a0587ed98632f82c404ae20f9f0a51a1d (diff) | |
| download | rust-19fd098446b07f8b7edc823edbadee971c7e6e5e.tar.gz rust-19fd098446b07f8b7edc823edbadee971c7e6e5e.zip | |
float: Disable `total_cmp` sNaN tests for `f16`
There is an LLVM bug with lowering of basic `f16` operations that mean a round trip via `__extendhfsf2` and `__truncsfhf2` may happen for simple `abs` calls or bitcasts [1]. This is problematic because the round trip quiets signaling NaNs. For most operations this is acceptable, but it is causing `total_cmp` tests to fail unless optimizations are enabled. Disable `total_cmp` tests involving signaling NaNs until this issue is resolved. Fixes: https://github.com/rust-lang/rustc_codegen_cranelift/issues/1578 Fixes: https://github.com/rust-lang/rust/issues/141503 [1]: https://github.com/llvm/llvm-project/issues/104915
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
