Skip to content

Conversation

@zeinabPourgheisari
Copy link
Collaborator

In convertSSAToGSAMerges, merges are first translated into SSA phis and then lowered to GSA. The current implementation does not correctly handle the case where a merge depends on its own result. This change detects self-dependent merge operands and reconnects them to the output of the newly created phi after it is generated.

@AyaElAkhras
Copy link
Member

Looks good to me, thanks, Zeinab!

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