Scott McMurray
51de309db2
Tweak SlicePartialEq to allow MIR-inlining the compare_bytes call
...
150265 disabled this because it was a net perf win, but let's see if we can tweak the structure of this to allow more inlining on this side while still not MIR-inlining the loop when it's not just `memcmp`.
This should also allow MIR-inlining the length check, which was previously blocked.
2026-01-27 00:10:12 -08:00
Zalathar
2df2c72d7a
Ignore #[doc(hidden)] items when computing trimmed paths
2026-01-19 12:27:27 +11:00
Scott McMurray
c48df5dcf1
Move the rustc_no_mir_inline down a level
2026-01-08 17:14:02 -08:00
Scott McMurray
5932078c79
Stop emitting UbChecks on every Vec→Slice
...
Spotted this in PR148766's test changes. It doesn't seem like this ubcheck would catch anything useful; let's see if skipping it helps perf.
2026-01-08 17:14:02 -08:00
Camille Gillot
c67b99fa09
Reinstate bonus for unused UbChecks.
2025-12-21 00:58:00 +00:00
Camille Gillot
223620f3c6
Filter costly chains after simplification.
2025-11-16 01:38:16 +00:00
Camille Gillot
2a63fde0bc
Simplify condition graph.
2025-11-16 01:38:16 +00:00
Camille GILLOT
f59dfc1a4a
Maintain a graph of fulfilled conditions.
2025-11-16 01:38:16 +00:00