This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Relax register superclasses for paired memops
ClosedPublic

Authored by qiucf on Jun 9 2021, 7:37 PM.

Details

Summary

Relaxing superclass constraint for VSX register classes helps reducing 32-byte spills and copies when register pressure is high.

In test case affected, some of them introduces more copies due to new allocation order. However, this patch should not be the root cause, and we may be able to fix it in other places of register allocation.

Diff Detail

Event Timeline

qiucf created this revision.Jun 9 2021, 7:37 PM
qiucf requested review of this revision.Jun 9 2021, 7:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2021, 7:37 PM
This revision is now accepted and ready to land.Jun 10 2021, 12:13 PM
This revision was automatically updated to reflect the committed changes.