This is an archive of the discontinued LLVM Phabricator instance.

R600/SI: Set isAllocatable = 0 on special register classes.
AbandonedPublic

Authored by arsenm on Oct 8 2014, 5:02 PM.

Details

Reviewers
None
Summary

I'm not sure if this fixes any real problems.
copyPhysReg already has a comment that SCC should never be copied,
so set CopyCost = -1.

These all seem obviously not allocatable, but I'm not sure about VCC
since most instructions that use it can also use an arbitrary SGPR
pair instead.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 14612.Oct 8 2014, 5:02 PM
arsenm retitled this revision from to R600/SI: Set isAllocatable = 0 on special register classes. .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm abandoned this revision.Oct 13 2014, 8:39 AM