Handle spilling the PPC GPRC_NOR0 register class
authorHal Finkel <hfinkel@anl.gov>
Tue, 28 Jan 2014 05:32:58 +0000 (05:32 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 28 Jan 2014 05:32:58 +0000 (05:32 +0000)
commite5487fce5d85325403b87c13caee443369e6d9e8
tree36e863c53df44452dfebb3923aaff4814b4289ba
parent90790c3217c6be295004623590273529e04fe72a
Handle spilling the PPC GPRC_NOR0 register class

GPRC_NOR0 is not a subclass of GPRC (because it also contains the ZERO pseudo
register). As a result, we also need to check for it in the spilling code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
test/CodeGen/PowerPC/spill-nor0.ll [new file with mode: 0644]