This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix endcf collapse
ClosedPublic

Authored by rampitec on Mar 13 2020, 1:14 PM.

Details

Summary

Only collapse inner endcf if the outer one belongs to SI_IF.
If it does belong to SI_ELSE then mask being restored in fact
a partial inverse of what we need.

Diff Detail

Event Timeline

rampitec created this revision.Mar 13 2020, 1:14 PM
arsenm accepted this revision.Mar 13 2020, 1:32 PM
This revision is now accepted and ready to land.Mar 13 2020, 1:32 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2020, 2:02 PM