Skip to content

Sync rustc_codegen_cranelift - #99720

Merged
bors merged 96 commits into
rust-lang:masterfrom
bjorn3:sync_cg_clif-2022-07-25
Jul 26, 2022
Merged

Sync rustc_codegen_cranelift#99720
bors merged 96 commits into
rust-lang:masterfrom
bjorn3:sync_cg_clif-2022-07-25

Conversation

@bjorn3

Copy link
Copy Markdown
Member

This time most of the changes are bugfixes. No exciting new features to report. Thanks @matthiaskrgr for reporting a bunch of crashes!

r? @ghost

@rustbot label +A-codegen +A-cranelift +T-compiler

bjorn3and others added 30 commits May 15, 2022 12:32
The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.
A pointer to address cast are often special-cased.
Introduce a dedicated cast kind to make them easy distinguishable.
It returns the previous work product or panics if there is none. This rename
makes the purpose of this method clearer.
A WorkProduct without a saved file is useless
Add support for emitting functions with `coldcc` to LLVM
The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.
Rollup of 5 pull requests
Successful merges:
- rust-lang#97058 (Various refactors to the incr comp workproduct handling)
- rust-lang#97301 (Allow unstable items to be re-exported unstably without requiring the feature be enabled)
- rust-lang#97738 (Fix ICEs from zsts within unsized types with non-zero offsets)
- rust-lang#97771 (Remove SIGIO reference on Haiku)
- rust-lang#97808 (Add some unstable target features for the wasm target codegen)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
There are still two failures due to incorrect test annotations
And likewise for the `Const::val` method.
Because its type is called `ConstKind`. Also `val` is a confusing name
because `ConstKind` is an enum with seven variants, one of which is
called `Value`. Also, this gives consistency with `TyS` and `PredicateS`
which have `kind` fields.
The commit also renames a few `Const` variables from `val` to `c`, to
avoid confusion with the `ConstKind::Value` variant.
@rustbotrustbot added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-codegen Area: Code generation A-cranelift Things relevant to the [future] cranelift backend labels Jul 25, 2022
@rust-log-analyzer

This comment has been minimized.

Cranelift started depending on a couple of new crates
@bjorn3

Copy link
Copy Markdown
MemberAuthor

@bors r+

@bors

bors commented Jul 25, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 9dc4ed8 has been approved by bjorn3

It is now in the queue for this repository.

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jul 25, 2022
@JohnTitorJohnTitor mentioned this pull request Jul 26, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 26, 2022
Rollup of 7 pull requests
Successful merges:
- rust-lang#98211 (Implement `fs::get_path` for FreeBSD.)
- rust-lang#99353 (Slightly improve mismatched GAT where clause error)
- rust-lang#99593 (Suggest removing the tuple struct field for the unwrapped value)
- rust-lang#99615 (Remove some explicit `self.infcx` for `FnCtxt`, which already derefs into `InferCtxt`)
- rust-lang#99711 (Remove reachable coverage without counters)
- rust-lang#99718 (Avoid `&str`/`Symbol` to `String` conversions)
- rust-lang#99720 (Sync rustc_codegen_cranelift)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit a572f06 into rust-lang:masterJul 26, 2022
@rustbotrustbot added this to the 1.64.0 milestone Jul 26, 2022
@bjorn3
bjorn3 deleted the sync_cg_clif-2022-07-25 branch July 26, 2022 08:21
bjorn3 pushed a commit to bjorn3/rust that referenced this pull request Aug 24, 2022
Rollup of 7 pull requests
Successful merges:
- rust-lang#98211 (Implement `fs::get_path` for FreeBSD.)
- rust-lang#99353 (Slightly improve mismatched GAT where clause error)
- rust-lang#99593 (Suggest removing the tuple struct field for the unwrapped value)
- rust-lang#99615 (Remove some explicit `self.infcx` for `FnCtxt`, which already derefs into `InferCtxt`)
- rust-lang#99711 (Remove reachable coverage without counters)
- rust-lang#99718 (Avoid `&str`/`Symbol` to `String` conversions)
- rust-lang#99720 (Sync rustc_codegen_cranelift)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-codegenArea: Code generationA-craneliftThings relevant to the [future] cranelift backendS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

20 participants

@bjorn3@rust-log-analyzer@bors@rustbot@JakobDegen@scottmcm@tmiasko@RalfJung@nvzqz@nnethercote@b-naber@WaffleLapkin@JohnTitor@matthiaskrgr@oli-obk@cjgillot@eggyal@davidtwco@tamird@Dylan-DPC