Page MenuHomePhabricator

AMDGPU/InsertWaitcnts: Update VGPR/SGPR bounds when brackets are merged

Authored by critson on Dec 12 2018, 7:46 AM.



Fix an issue where VGPR/SGPR bounds are not properly extended when brackets are merged.
This manifests as missing waitcnt insertions when multiple brackets are forwarded to a successor block and the first forward has lower VGPR/SGPR bounds.

Irreducible loop test has been extended based on a CTS failure detected for GFX9.

Diff Detail


Event Timeline

critson created this revision.Dec 12 2018, 7:46 AM
nhaehnle accepted this revision.Dec 18 2018, 7:21 AM

Thanks, LGTM

This revision is now accepted and ready to land.Dec 18 2018, 7:21 AM
This revision was automatically updated to reflect the committed changes.