[mir-opt] Disable the ConsideredEqual logic in SimplifyBranchSame opt#76837
Merged
bors merged 1 commit intorust-lang:masterfrom Sep 18, 2020
Merged
[mir-opt] Disable the ConsideredEqual logic in SimplifyBranchSame opt#76837bors merged 1 commit intorust-lang:masterfrom
ConsideredEqual logic in SimplifyBranchSame opt#76837bors merged 1 commit intorust-lang:masterfrom
Conversation
The logic is currently broken and we need to disable it to fix a beta regression (see rust-lang#76803)
e40e4eb to
dbd7226
Compare
Contributor
|
@bors r+ p=1 |
Collaborator
|
📌 Commit dbd7226 has been approved by |
Collaborator
|
⌛ Testing commit dbd7226 with merge a4b89bbf799a0e26b22994dd8fb46ac664c2678b... |
RalfJung
reviewed
Sep 17, 2020
Collaborator
|
💥 Test timed out |
Collaborator
|
Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
Member
Author
|
@bors retry |
Collaborator
|
⌛ Testing commit dbd7226 with merge 7298f74325871e387d72e4d512a1600c7104c5e3... |
Collaborator
|
💥 Test timed out |
Contributor
|
@bors retry |
Collaborator
Collaborator
|
☀️ Test successful - checks-actions, checks-azure |
Member
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Sep 25, 2020
Fix rust-lang#76803 miscompilation Fixes rust-lang#76803 Seems like it was an oversight that the discriminant value being set was not compared to the target value from the SwitchInt, as a comment says this is a requirement for the optimization to be sound. r? `@wesleywiser` since you are probably familiar with the optimization and made rust-lang#76837 to workaround the bug
Merged
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Sep 29, 2020
…ulacrum [beta] backports This backports the following: * revert const_type_id stabilization rust-lang#77083 * [mir-opt] Disable the `ConsideredEqual` logic in SimplifyBranchSame opt rust-lang#76837 * Rename Iterator::get_unchecked rust-lang#77201 (manually, because of file renaming and other issues on master causing literal cherry-pick to fail) * Rebase LLVM onto 11.0.0-rc3 rust-lang#77063 (bumping direct to master, see rust-lang#77063 (comment)). The last two have not yet been approved by compiler team, but I'm posting this now and going to go ahead and approve as I expect both to get approved and we want testing as much as possible before release in ~2 weeks. 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.
The logic is currently broken and we need to disable it to fix a beta
regression (see #76803)
r? @oli-obk