This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix not rescheduling without clustering
ClosedPublic

Authored by kerbowa on Aug 6 2020, 9:09 PM.

Details

Summary

Regions are sometimes skipped which should be rescheduled without memory op
clustering. RegionIdx is not incremented when iterating over regions that
are flagged to be skipped, causing the index to be incorrect.

Thanks to Vang Thao for discovering this bug!

Diff Detail

Event Timeline

kerbowa created this revision.Aug 6 2020, 9:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 6 2020, 9:09 PM
kerbowa requested review of this revision.Aug 6 2020, 9:09 PM
foad added a subscriber: foad.Aug 7 2020, 2:45 AM
rampitec accepted this revision.Aug 7 2020, 9:45 AM

LGTM. Thank you!

This revision is now accepted and ready to land.Aug 7 2020, 9:45 AM
This revision was landed with ongoing or failed builds.Aug 7 2020, 11:17 AM
This revision was automatically updated to reflect the committed changes.