[PATCH] R600/SI: Set isAllocatable = 0 on special register classes.

Matt Arsenault Matthew.Arsenault at amd.com
Wed Oct 8 17:02:37 PDT 2014


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.

http://reviews.llvm.org/D5686

Files:
  lib/Target/R600/SIRegisterInfo.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5686.14612.patch
Type: text/x-patch
Size: 1180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141009/85914f89/attachment.bin>


More information about the llvm-commits mailing list