about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-05-28 06:40:18 +0000
committerTrevor Gross <tmgross@umich.edu>2025-05-28 06:49:04 +0000
commit19fd098446b07f8b7edc823edbadee971c7e6e5e (patch)
tree7a6acf0e15919154d43086f7ad8e65cdb48d7f03 /tests/rustdoc-js-std/parser-slice-array.js
parent04a67d5a0587ed98632f82c404ae20f9f0a51a1d (diff)
downloadrust-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-slice-array.js')
0 files changed, 0 insertions, 0 deletions