diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-07-04 05:47:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-04 05:47:29 +0200 |
| commit | e4e26d2acb13f42badb6e4953c7d72a001e3aed7 (patch) | |
| tree | 8a658b79c06f3b54d15b22c22fa7b30edd889557 /library/core/src | |
| parent | 9852aceb4fa6d8cadc338003c1cdf0b8246cc733 (diff) | |
| parent | 51857ade80c531c0ae0ee801dde5d425d13d38f8 (diff) | |
| download | rust-e4e26d2acb13f42badb6e4953c7d72a001e3aed7.tar.gz rust-e4e26d2acb13f42badb6e4953c7d72a001e3aed7.zip | |
Rollup merge of #143395 - Urgau:llvm-fallback-minimum-maximum, r=tgross35
Always use the pure Rust fallback instead of `llvm.{maximum,minimum}`
While https://github.com/llvm/llvm-project/pull/142170 was merged, it was reverted and next attempt (https://github.com/llvm/llvm-project/pull/140193) at fixing the LLVM implementation seems to have stall, so let's reverted back to pure Rust with the LLVM codegen.
cc [#t-compiler/llvm > `llvm.minimum`/`llvm.maximum` issues @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/187780-t-compiler.2Fllvm/topic/.60llvm.2Eminimum.60.2F.60llvm.2Emaximum.60.20issues/near/527044712)
Fixes https://github.com/rust-lang/rust/issues/141087
r? `@tgross35`
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/num/f64.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/num/f64.rs b/library/core/src/num/f64.rs index 93bfdbdd60b..3cd079b84eb 100644 --- a/library/core/src/num/f64.rs +++ b/library/core/src/num/f64.rs @@ -943,7 +943,7 @@ impl f64 { /// This returns NaN when *either* argument is NaN, as opposed to /// [`f64::max`] which only returns NaN when *both* arguments are NaN. /// - /// ```ignore-arm-unknown-linux-gnueabihf,ignore-i586 (see https://github.com/rust-lang/rust/issues/141087) + /// ``` /// #![feature(float_minimum_maximum)] /// let x = 1.0_f64; /// let y = 2.0_f64; @@ -970,7 +970,7 @@ impl f64 { /// This returns NaN when *either* argument is NaN, as opposed to /// [`f64::min`] which only returns NaN when *both* arguments are NaN. /// - /// ```ignore-arm-unknown-linux-gnueabihf,ignore-i586 (see https://github.com/rust-lang/rust/issues/141087) + /// ``` /// #![feature(float_minimum_maximum)] /// let x = 1.0_f64; /// let y = 2.0_f64; |
