Several changes to the codegen backend organization#65340
Merged
bors merged 10 commits intorust-lang:masterfrom Oct 15, 2019
Merged
Several changes to the codegen backend organization#65340bors merged 10 commits intorust-lang:masterfrom
bors merged 10 commits intorust-lang:masterfrom
Conversation
Contributor
|
Some changes occurred in diagnostic error codes |
Contributor
|
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
Contributor
Member
|
r? @eddyb I'll look into this ASAP (please ping me elsewhere otherwise) |
eddyb
reviewed
Oct 12, 2019
eddyb
reviewed
Oct 12, 2019
src/librustc_codegen_llvm/common.rs
Outdated
Member
There was a problem hiding this comment.
Maybe we should have a newtype of Value to force this to be correctly typed (LLVM has a class for functions which IIRC is a subclass of GlobalValue). But this is a low-priority cleanup.
eddyb
reviewed
Oct 12, 2019
Member
There was a problem hiding this comment.
At some point we'll have to replace all of these ll prefixes in variable names.
eddyb
reviewed
Oct 12, 2019
eddyb
reviewed
Oct 12, 2019
eddyb
reviewed
Oct 12, 2019
Collaborator
|
☔ The latest upstream changes (presumably #65182) made this pull request unmergeable. Please resolve the merge conflicts. |
The associated long diagnostic didn't get registered before
1711aba to
f0e2fc7
Compare
eddyb
approved these changes
Oct 14, 2019
Member
|
@bors r+ |
Collaborator
|
📌 Commit f0e2fc7 has been approved by |
tmandry
added a commit
to tmandry/rust
that referenced
this pull request
Oct 15, 2019
Several changes to the codegen backend organization * Split functions from values in cg_ssa `BackendTypes`. * Remove `is_const_integral` function from `ConstMethods`. * Actually register the invalid monomorphization of intrinsic long diagnostic and remove the `diagnostics` method from `CodegenBackends`, as it was unused. * Add cg_ssa and cg_utils provided methods to `default_provide`, so codegen backend don't have to do it themself.
bors
added a commit
that referenced
this pull request
Oct 15, 2019
Rollup of 10 pull requests Successful merges: - #65170 (rustc_metadata: Privatize private code and remove dead code) - #65260 (Optimize `LexicalResolve::expansion`.) - #65261 (Remove `Option` from `TokenStream`) - #65332 (std::fmt: reorder docs) - #65340 (Several changes to the codegen backend organization) - #65365 (Include const generic arguments in metadata) - #65398 (Bring attention to suggestions when the only difference is capitalization) - #65410 (syntax: add parser recovery for intersection- / and-patterns `p1 @ p2`) - #65415 (Remove an outdated test output file) - #65416 (Minor sync changes) Failed merges: r? @ghost
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
BackendTypes.is_const_integralfunction fromConstMethods.diagnosticsmethod fromCodegenBackends, as it was unused.default_provide, so codegen backend don't have to do it themself.