-
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
Implement explicit tail calls in the LLVM backend #138555
base: master
Are you sure you want to change the base?
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
Some changes occurred in compiler/rustc_codegen_ssa This PR modifies cc @jieyouxu |
This comment has been minimized.
This comment has been minimized.
With this, I think we can enable drop-order test now: https://github.com/rust-lang/rust/blob/989d72f9abc1b4f43b2233ba0664736dc30c69e3/tests/ui/explicit-tail-calls/drop-order.rs |
Looking at the recent comments to understand the GCC backend implementation issue |
Some changes occurred in compiler/rustc_codegen_gcc |
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not how we do codegen tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition, we have entirely removed support for Makefile-based tests. This test tests nothing, that's why it passes.
r? WaffleLapkin |
@semtexzv thanks for your PR! Do you plan to work on this further? As @workingjubilee said ~3 weeks ago, the test you've added doesn't actually test anything. The CI is currently failing. I also have a lot of thoughts on the implementation details. All in all there is still quite a bit of work to be done before this can be merged. Do you have the capacity and desire to continue? I'm a bit concerned that this might be too much for a first time contributor (feel free to prove me wrong tho!) @rustbot author |
Reminder, once the PR becomes ready for a review, use |
Implements guaranteed tail calls in the LLVM backend (#112788):