diff options
| author | bors <bors@rust-lang.org> | 2025-03-14 03:51:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-14 03:51:19 +0000 |
| commit | 523c507d260c6f4391a5041f084528f5fa670312 (patch) | |
| tree | 5609bb44eb2652125c3b0730438513ab3b09cdcb /compiler/rustc_query_impl/src | |
| parent | addae0705c7cf5b2f2ed7faeec026c894f497b3d (diff) | |
| parent | 91af4aa2e2b33635893a75d900f305f993df1739 (diff) | |
| download | rust-523c507d260c6f4391a5041f084528f5fa670312.tar.gz rust-523c507d260c6f4391a5041f084528f5fa670312.zip | |
Auto merge of #138157 - scottmcm:inline-more-tiny-things, r=oli-obk
Allow more top-down inlining for single-BB callees This means that things like `<usize as Step>::forward_unchecked` and `<PartialOrd for f32>::le` will inline even if we've already done a bunch of inlining to find the calls to them. Fixes #138136 ~~Draft as it's built atop #138135, which adds a mir-opt test that's a nice demonstration of this. To see just this change, look at <https://github.com/rust-lang/rust/pull/138157/commits/48f63e3be552605c2933056b77bf23a326757f92>~~ Rebased to be just the inlining change, as the other existing tests show it great.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
