about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-21 09:43:33 +0000
committerbors <bors@rust-lang.org>2024-02-21 09:43:33 +0000
commit709c00a04728dc98b09f63ccb3cb526de80e122f (patch)
tree5abfd650be0276ca9b38c4397dad982f95734f63 /tests/rustdoc-js-std/parser-slice-array.js
parent4f23c244e959c8d3f05069939c0f23ec9f30599d (diff)
parent968e79540da9d3a29cf8e57390b4775fd0bd0616 (diff)
downloadrust-709c00a04728dc98b09f63ccb3cb526de80e122f.tar.gz
rust-709c00a04728dc98b09f63ccb3cb526de80e122f.zip
Auto merge of #120718 - saethlin:reasonable-fast-math, r=nnethercote
Add "algebraic" fast-math intrinsics, based on fast-math ops that cannot return poison

Setting all of LLVM's fast-math flags makes our fast-math intrinsics very dangerous, because some inputs are UB. This set of flags permits common algebraic transformations, but according to the [LangRef](https://llvm.org/docs/LangRef.html#fastmath), only the flags `nnan` (no nans) and `ninf` (no infs) can produce poison.

And this uses the algebraic float ops to fix https://github.com/rust-lang/rust/issues/120720

cc `@orlp`
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions