Skip to content

Conversation

@meg-gupta
Copy link
Contributor

Previously we replaced phi with its incoming values when all incoming values were the same.
If the phi had itself as incoming value, it wasn't optimized. This PR handles such cases.

@meg-gupta
Copy link
Contributor Author

Based on top of #72780

@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta force-pushed the improvephireplace branch from 6c09304 to 5bfa560 Compare April 3, 2024 17:46
@meg-gupta
Copy link
Contributor Author

@swift-ci 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

@meg-gupta meg-gupta enabled auto-merge April 3, 2024 23:02
@meg-gupta meg-gupta merged commit 2ef1aa5 into swiftlang:main Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants