-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Refactor rustc_codegen_ssa (part 2) #56636
Conversation
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 |
40aa911
to
e9d9303
Compare
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 |
☔ The latest upstream changes (presumably #56642) made this pull request unmergeable. Please resolve the merge conflicts. |
0f76351
to
d326f3e
Compare
Rebased |
☔ The latest upstream changes (presumably #56723) made this pull request unmergeable. Please resolve the merge conflicts. |
ping from triage @bjorn3 you have to rebase and fix the conflicts again, will get it reviewed after that |
d326f3e
to
3142611
Compare
Rebased |
☔ The latest upstream changes (presumably #57442) made this pull request unmergeable. Please resolve the merge conflicts. |
3142611
to
e61d720
Compare
Rebased |
☔ The latest upstream changes (presumably #58389) made this pull request unmergeable. Please resolve the merge conflicts. |
d60a984
to
6997cfa
Compare
Rebased |
☔ The latest upstream changes (presumably #57760) made this pull request unmergeable. Please resolve the merge conflicts. |
This way a codegen backend doesn't need to provide a phi instruction, which codegen backends other than LLVMmay not support easily, because they for example, like cranelift, use basic block parameters.
`count_insn` is no longer called for inline asm, because it is private to builder.rs
Rebased |
☔ The latest upstream changes (presumably #58673) made this pull request unmergeable. Please resolve the merge conflicts. |
nominating for discussion at T-compiler meeting. I assume we want to do this; I just think it would be reasonable to delegate the review to someone other than @eddyb |
I opened #58846 a few days ago, which omits the split of |
ping from triage, Marking this as blocked on #58846 |
#58846 was merged. |
Most of this PR has been merged in #58846 already. The only big difference between this and that PR is that this PR splits the builder methods into several parts, while the other doesn't. This split wasn't very useful as most functions needed most of the parts anyway, so I am going to close this. |
r? @eddyb
cc @sunfishcode