Uh oh!
There was an error while loading. Please reload this page.
Rework reserve assumes for Vec and String - #119465
Conversation
rustbot
commented
Dec 31, 2023
r? @m-ou-se (rustbot has picked a reviewer for you, use r? to override) |
SUPERCILEX
commented
Dec 31, 2023
The optimization only works with the inlines and assumes in the top function (unless you |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
496e867 to
48a433cCompare
This comment has been minimized.
This comment has been minimized.
48a433c to
d46ba1dCompare
This comment has been minimized.
This comment has been minimized.
d46ba1d to
1dfff2eCompareSigned-off-by: Alex Saveau <saveau.alexandre@gmail.com>
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
This reverts commit 1dfff2e.
1dfff2e to
a4b629eComparebors
commented
Jan 11, 2024
☔ The latest upstream changes (presumably #119864) made this pull request unmergeable. Please resolve the merge conflicts. |
m-ou-se
commented
Feb 15, 2024
The functions are tiny though. Does |
SUPERCILEX
commented
Feb 16, 2024
Maybe this is actually an LLVM bug? I just tried putting |
JohnCSimon
commented
Apr 14, 2024
ping from triage - can you post your status on this PR? This PR has not received an update in a few months. FYI: when a PR is ready for review, send a message containing Or if you're not going to continue, please close it. Thank you! |
SUPERCILEX
commented
Apr 14, 2024
Yeah, after all the fiddling I've done I think this is really just an LLVM bug, so I filed: #123944. |
Code:
Before:
After: