-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline copied
and next
methods
#108048
Inline copied
and next
methods
#108048
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @scottmcm (or someone else) soon. Please see the contribution instructions for more information. |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Can you add a codegen test for this? Something like |
8118cb3
to
b2158c7
Compare
Thanks for your help. I tried to add the corresponding test. |
In the LLVM in the issue the methods are inlined, though? There's no |
Yes, the methods are inlined. I think it should be an appropriate approach to add an inline attribute early. |
Looks like the |
This comment has been minimized.
This comment has been minimized.
I noticed that the release of rustc comes bundled with LLVM 15 (for local development as well). Why is LLVM 13 used on CI? More, I found a similar example to accomplish the relevant optimizations. The structure looks similar to LLVM IR, and it should be possible to solve the problem with some Passes improvements. https://rust.godbolt.org/z/aoYxdzWsv
|
LLVM 13 is used for the PR build only; the full merge checks have runners that use 13, 14, 15, and the bundled one. @rustbot author |
b2158c7
to
4385eb3
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
Thanks for the answer. I will close this PR, although adding |
This should fix #107681.