This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Reduce number of copies emitted
ClosedPublic

Authored by arsenm on Sep 2 2015, 10:03 AM.

Details

Reviewers
tstellarAMD
Summary

Instead of always inserting a copy in case
the super register is itself a subregister,
only extract to the super reg class if this is
actually the case.

This shouldn't really change codegen, but
makes looking at the output of SIFixSGPRCopies
easier to read.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 33819.Sep 2 2015, 10:03 AM
arsenm retitled this revision from to AMDGPU: Reduce number of copies emitted.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Sep 23 2015, 7:58 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Sep 23 2015, 7:58 PM
arsenm closed this revision.Sep 24 2015, 12:18 AM

r248467