Skip to content
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

cfg_simplify: Fix more bugs #47240

Merged
merged 1 commit into from
Oct 20, 2022
Merged

cfg_simplify: Fix more bugs #47240

merged 1 commit into from
Oct 20, 2022

Conversation

Keno
Copy link
Member

@Keno Keno commented Oct 20, 2022

cfg_simplify still had issues with unreachable BBs, as well as BBs with try/catch in them. Additionally, it sometimes leaves unreachable BBs in the IR, which the verifier was upset about if there was a PhiNode that referenced it. I made that legal for now. The alternative is to make all unreachable BBs illegal, which I think would be reasonable, but is somewhat extreme for the time being. Let's see how this fares first.

base/compiler/ssair/slot2ssa.jl Outdated Show resolved Hide resolved
@aviatesk aviatesk self-requested a review October 20, 2022 05:13
@aviatesk aviatesk force-pushed the kf/fixcfgsimplifymore branch 2 times, most recently from fd33c1d to 9bee435 Compare October 20, 2022 12:12
cfg_simplify still had issues with unreachable BBs, as well as BBs with
try/catch in them. Additionally, it sometimes leaves unreachable BBs
in the IR, which the verifier was upset about if there was a PhiNode
that referenced it. I made that legal for now. The alternative is to
make all unreachable BBs illegal, which I think would be reasonable,
but is somewhat extreme for the time being. Let's see how this
fares first.
@Keno Keno merged commit ecf9e56 into master Oct 20, 2022
@Keno Keno deleted the kf/fixcfgsimplifymore branch October 20, 2022 19:04
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.

None yet

3 participants