Skip to content

Fix implementation of isGuaranteedForwardingPhi #62407

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

Closed

Conversation

meg-gupta
Copy link
Contributor

Return false for non-phi SILPhiArgument.

This was called from OperandOwnershipClassifier::visitBranchInst so we would not encounter this case, but fix the implementation anyway.

Return false for non-phi SILPhiArgument.

This was called from OperandOwnershipClassifier::visitBranchInst so we
would not encounter this case, but fix the implementation anyway.
@meg-gupta meg-gupta requested a review from atrick December 5, 2022 21:21
@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

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

LGTM. No hurry though. This might be subsumed by your rewrite of this utility.

@meg-gupta
Copy link
Contributor Author

Closing this in favor of #62454

@meg-gupta meg-gupta closed this Dec 8, 2022
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.

2 participants