diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-05-29 17:03:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 17:03:00 +0200 |
| commit | cb7efc0cbddb185290a346f9ccb01730a4e4fc36 (patch) | |
| tree | e9bb1d264b8dfd734d3dd8d06f4a9460362059da /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | 2b08e4d399330473c56c2cb0017e5ec1afc8dbbe (diff) | |
| parent | 19fd098446b07f8b7edc823edbadee971c7e6e5e (diff) | |
| download | rust-cb7efc0cbddb185290a346f9ccb01730a4e4fc36.tar.gz rust-cb7efc0cbddb185290a346f9ccb01730a4e4fc36.zip | |
Rollup merge of #141676 - tgross35:f16-disable-total-cmp, r=workingjubilee
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 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
