diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-07 10:02:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-07 10:02:26 +0100 |
| commit | 9e16082e63c332f160adfeece664d5623abbcfe7 (patch) | |
| tree | d2d2c4bf482b571e215bb18a90c64ac70d55276f /compiler/rustc_codegen_llvm | |
| parent | a98df54bdc3fcedfd89bf1959960b97a5432cb5b (diff) | |
| parent | eae5ed609d8afe6c8cd7a231a1bbbb12aba331dd (diff) | |
| download | rust-9e16082e63c332f160adfeece664d5623abbcfe7.tar.gz rust-9e16082e63c332f160adfeece664d5623abbcfe7.zip | |
Rollup merge of #137904 - scottmcm:ordering-is, r=workingjubilee
Improve the generic MIR in the default `PartialOrd::le` and friends It looks like I regressed this accidentally in #137197 due to #137901 So this PR does two things: 1. Tweaks the way we're calling `is_some_and` so that it optimizes in the generic MIR (rather than needing to optimize it in every monomorphization) -- the first commit adds a MIR test, so you can see the difference in the second commit. 2. Updates the implementations of `is_le` and friends to be slightly simpler, and parallel how clang does them.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions
