[PATCH] D13924: AMDGPU: Hack for VS_32 register pressure

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 17:55:35 PDT 2015

arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

For some reason VS_32 ends up factoring into the pressure heuristics
even though we should never see a virtual register with this class.
When SGPRs are reserved for register spilling, this for some reason
triggers reg-crit scheduling.
Setting isAllocatable = 0 may help with this since that seems to remove
it from the default implementation's generated table.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13924.37954.patch
Type: text/x-patch
Size: 4960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/fa50beef/attachment.bin>

More information about the llvm-commits mailing list