Page MenuHomePhabricator

[AMDGPU] Remove fix up operand from SI_ELSE
ClosedPublic

Authored by critson on Sun, Oct 18, 4:32 AM.

Details

Summary

Remove immediate operand from SI_ELSE which indicates if EXEC has
been modified. Instead always emit code that handles EXEC and
remove unnecessary instructions during pre-RA optimisation.

This facilitates passes (i.e. SIWholeQuadMode) adding exec mask
manipulation post control flow lowering, and pre control flow
lower passes do not need to be aware of SI_ELSE handling.

Diff Detail

Event Timeline

critson created this revision.Sun, Oct 18, 4:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptSun, Oct 18, 4:32 AM
critson requested review of this revision.Sun, Oct 18, 4:32 AM
nhaehnle accepted this revision.Mon, Oct 19, 10:21 AM

Thanks, LGTM

This revision is now accepted and ready to land.Mon, Oct 19, 10:21 AM
This revision was landed with ongoing or failed builds.Tue, Oct 20, 3:15 AM
This revision was automatically updated to reflect the committed changes.
foad added a subscriber: foad.Tue, Oct 20, 6:37 AM