This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix insert of SIPreAllocateWWMRegs in FastRegAlloc
ClosedPublic

Authored by critson on Oct 27 2020, 8:12 AM.

Details

Summary

SIPreAllocateWWMRegs was being inserted after RegisterCoalescer
but this pass does not exist during FastAlloc so pre-allocation
pass was never being run.
Insert pre-allocation after TwoAddressInstructionPass instead.

Diff Detail

Event Timeline

critson created this revision.Oct 27 2020, 8:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2020, 8:12 AM
critson requested review of this revision.Oct 27 2020, 8:12 AM
This revision is now accepted and ready to land.Oct 27 2020, 8:41 AM
This revision was landed with ongoing or failed builds.Oct 27 2020, 8:15 PM
This revision was automatically updated to reflect the committed changes.