This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Revert scheduling to reduce spilling
ClosedPublic

Authored by rampitec on Jan 3 2020, 1:36 PM.

Details

Summary

We can revert region schedule if new schedule decreases occupancy
However, if we already have only one wave we would accept any new
schedule even if it blows up register pressure. Such schedule may
result in quite heavy spilling which can be avoided if we reject
this new schedule.

Diff Detail

Event Timeline

rampitec created this revision.Jan 3 2020, 1:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 3 2020, 1:36 PM
kerbowa accepted this revision.Jan 3 2020, 3:13 PM

LGTM

This revision is now accepted and ready to land.Jan 3 2020, 3:13 PM
This revision was automatically updated to reflect the committed changes.
foad added a subscriber: foad.Jan 6 2020, 1:17 AM