-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Share the naked asm impl between cg_ssa and cg_clif #134232
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
base: master
Are you sure you want to change the base?
Conversation
cc @folkertdev |
r? @chenyukang rustbot has assigned @chenyukang. Use |
This comment has been minimized.
This comment has been minimized.
b8677a2
to
d6b3c06
Compare
This comment has been minimized.
This comment has been minimized.
d6b3c06
to
0dd4292
Compare
Some changes occurred in compiler/rustc_codegen_gcc |
☔ The latest upstream changes (presumably #134381) made this pull request unmergeable. Please resolve the merge conflicts. |
42ae211
to
1358f53
Compare
1358f53
to
dcf8b87
Compare
r? compiler |
☔ The latest upstream changes (presumably #135959) made this pull request unmergeable. Please resolve the merge conflicts. |
dcf8b87
to
0b43964
Compare
☔ The latest upstream changes (presumably #136332) made this pull request unmergeable. Please resolve the merge conflicts. |
0b43964
to
b250776
Compare
☔ The latest upstream changes (presumably #137163) made this pull request unmergeable. Please resolve the merge conflicts. |
b250776
to
1341f83
Compare
1341f83
to
ef86f9d
Compare
r? @wesleywiser |
☔ The latest upstream changes (presumably #139088) made this pull request unmergeable. Please resolve the merge conflicts. |
While LLVM is rather permissive in this regards, some other codegen backends demand that once you declare a function for definition you actually define contents of the function, which doesn't happen for naked functions as we actually generate assembly for them.
This allows it to be reused by codegen backends that don't use cg_ssa like cg_clif.
ef86f9d
to
3066da8
Compare
Some changes occurred in compiler/rustc_codegen_ssa |
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.
The cg_clif changes seem fine but I don't know enough about that part to thoroughly review. The rest lgmt!
@bors r+ |
…esleywiser Share the naked asm impl between cg_ssa and cg_clif This was introduced in rust-lang#128004.
Rollup of 8 pull requests Successful merges: - rust-lang#134232 (Share the naked asm impl between cg_ssa and cg_clif) - rust-lang#140312 (Improve pretty-printing of braces) - rust-lang#140437 (enable msa feature for mips in codegen tests) - rust-lang#140438 (Add `rust.debug-assertions-tools` option) - rust-lang#140439 (miri: algebraic intrinsics: bring back float non-determinism) - rust-lang#140445 (Treat ManuallyDrop as ~const Destruct) - rust-lang#140446 (chore: fix some tests) - rust-lang#140448 (Rename `rustc_query_append!` to `rustc_with_all_queries!`) r? `@ghost` `@rustbot` modify labels: rollup
@bors r- Seems to have failed in #140475 (comment) |
This was introduced in #128004.