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

[NewOptimizer] Fix PhiC type lifting for nested try/catch #26943

Merged
merged 1 commit into from
May 1, 2018

Conversation

Keno
Copy link
Member

@Keno Keno commented May 1, 2018

Fixes two closely related bugs:

  • PhiC nodes were not participating in type refinement during SSA construction,
    leading to PhiC nodes that were part of a phi cycle to have too narrow a type.
  • PhiC nodes part of a Phi cycle did not get an appropriate upsilon node inserted
    during type lifting.

Fixes two closely related bugs:
- PhiC nodes were not participating in type refinement during SSA construction,
  leading to PhiC nodes that were part of a phi cycle to have too narrow a type.
- PhiC nodes part of a Phi cycle did not get an appropriate upsilon node inserted
  during type lifting.
@Keno Keno mentioned this pull request May 1, 2018
18 tasks
@ararslan ararslan added the compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) label May 1, 2018
@Keno
Copy link
Member Author

Keno commented May 1, 2018

cc @mbauman for the broadcast failure on Win64. I don't believe this code should affect anything (since the new optimizer is still disabled).

@Keno
Copy link
Member Author

Keno commented May 1, 2018

I restarted the build. For reference, the failure was: https://gist.github.com/Keno/66b50c90d32117733883d43ba952c865

@mbauman
Copy link
Member

mbauman commented May 1, 2018

Yeah, that looks like I just got the bounds computation wrong and you got an unlucky random seed. I'm working on getting better bounds now… but I might just add a bit more slop. Edit: #26950

@Keno Keno merged commit 9ef2af9 into master May 1, 2018
@mbauman mbauman deleted the kf/nestedtrycatch branch May 1, 2018 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:optimizer Optimization passes (mostly in base/compiler/ssair/)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants