always try inlining functions which do not call other functions#75495
always try inlining functions which do not call other functions#75495lcnr wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit bea062f with merge ad4a8ac0048cc0c83e82f277bfd16984c79b1c44... |
|
FYI: If the intention is to enable this on mir-opt-level=1, it might be necessary to resolve #71793 first. |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
💔 Test failed - checks-actions |
|
looks like ra also breaks because of #68347 |
| } | ||
| // Do wrapping math to allow e.g. `Step::forward(-128i8, 255)`. | ||
| start.wrapping_add(n as Self) | ||
| start + (n as Self) |
There was a problem hiding this comment.
I think the intention here was to inherit the user's setting for debug assertion, even when std is compiled in release mode (as it usually is).
There was a problem hiding this comment.
yeah, will have to rewrite this again before merging 👍
|
I think "functions which do not call other function" used to be called leaf functions. |
|
☔ The latest upstream changes (presumably #75549) made this pull request unmergeable. Please resolve the merge conflicts. |
|
closing this for now as there are still some bugs with inlining we have to fix first |
|
rebased on top of #77306 meaning that all inlining ICE I know of are fixed, let's see if we can get a perf run going here |
|
@bors try @rust-timer queue looks like all test failures are expected |
|
Awaiting bors try build completion |
|
I first rebased and then tried to open let's open another PR |
|
@Mark-Simulacrum should I do something to cancel rust-timer here? |
|
Don't worry about it -- it'll just stick around but that's not a problem. |
This is still a bit broken.
r? @wesleywiser