-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add cg_clif as optional codegen backend #77975
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit af0fa74. It didn't do anything
The previous translation was wrong for signed 128bit comparisions This fixes several libcore tests
Fixes #6
Assignments are no longer used to implicitly cast between &mut T and &T
…#1054) * Longer README about how to use this instead of `cargo run` Resolves rust-lang#1052. Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
rustbot
added
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
and removed
S-waiting-on-author
Status: This is awaiting some action (such as code changes or more information) from the author.
labels
Oct 26, 2020
@bors r+ rollup=never p=5 |
📌 Commit ac4f7de has been approved by |
bors
added
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Oct 26, 2020
☀️ Test successful - checks-actions |
This was referenced Oct 26, 2020
Merged
This was referenced Nov 1, 2020
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Nov 3, 2020
…=jyn514 Sync rustc_codegen_cranelift This fixes bootstrapping of rustc using cg_clif again. It regressed a while before rust-lang#77975 got merged. Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
m-ou-se
added a commit
to m-ou-se/rust
that referenced
this pull request
Nov 3, 2020
…=jyn514 Sync rustc_codegen_cranelift This fixes bootstrapping of rustc using cg_clif again. It regressed a while before rust-lang#77975 got merged. Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
I think this has broken |
Oops. I used |
Opened #80981 |
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this pull request
Jan 14, 2021
…evink Fix -Cpasses=list and llvm version print with -vV cc rust-lang#77975 (comment)
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this pull request
Jan 14, 2021
…evink Fix -Cpasses=list and llvm version print with -vV cc rust-lang#77975 (comment)
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this pull request
Jan 14, 2021
…evink Fix -Cpasses=list and llvm version print with -vV cc rust-lang#77975 (comment)
m-ou-se
added a commit
to m-ou-se/rust
that referenced
this pull request
Jan 14, 2021
…evink Fix -Cpasses=list and llvm version print with -vV cc rust-lang#77975 (comment)
m-ou-se
added a commit
to m-ou-se/rust
that referenced
this pull request
Jan 14, 2021
…evink Fix -Cpasses=list and llvm version print with -vV cc rust-lang#77975 (comment)
LeSeulArtichaut
added
the
A-cranelift
Things relevant to the [future] cranelift backend
label
Jul 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-cranelift
Things relevant to the [future] cranelift backend
merged-by-bors
This PR was explicitly merged by bors.
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rustc_codegen_cranelift is an alternative codegen backend for rustc based on Cranelift. It has the potential to improve compilation times in debug mode. In my experience the compile time improvements over debug mode LLVM for a clean build are about 20-30% in most cases.
This PR adds cg_clif as optional codegen backend. By default it is only enabled for
./x.py check
. It can be enabled for./x.py build
too by addingcranelift
to therust.codegen-backends
array inconfig.toml
.MCP: rust-lang/compiler-team#270
r? @Mark-Simulacrum