Skip to content

🍒[SimplifyCFG] performBranchToCommonDestFolding(): require block-close… #3439

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

Merged
merged 1 commit into from
Oct 17, 2021

Conversation

etcwilde
Copy link
Member

…d SSA form for bonus instructions (PR51125)

This appears to be the cause of SR-15302.
The fix for the bad optimization was integrated into LLVM shortly after the 2021-07-26 branch was cut.
The fixing commit was: llvm@909cba9

Original commit message:

I can't seem to wrap my head around the proper fix here,
we should be fine without this requirement, iff we can form this form,
but the naive attempt (https://reviews.llvm.org/D106317) has failed.
So just to unblock the release, put up a restriction.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51125

…d SSA form for bonus instructions (PR51125)

I can't seem to wrap my head around the proper fix here,
we should be fine without this requirement, iff we can form this form,
but the naive attempt (https://reviews.llvm.org/D106317) has failed.
So just to unblock the release, put up a restriction.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51125
@etcwilde
Copy link
Member Author

@etcwilde etcwilde requested review from compnerd and hyp October 16, 2021 06:23
@etcwilde
Copy link
Member Author

@swift-ci please test windows Platform

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(only in the sense that this looks like the right cherry-pick, is a proper cherry-pick of the upstream change and does resolve the actual issue. I've not spent the time to fully digest and carefully the actual upstream change).

@etcwilde etcwilde merged commit afcee63 into swiftlang:stable/20210726 Oct 17, 2021
@etcwilde etcwilde deleted the ewilde/fix-SR-15302 branch January 26, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants