mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Skip over zero registers.
llvm-svn: 63748
This commit is contained in:
parent
9e3a296933
commit
04be5342b1
@ -2449,6 +2449,8 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
|
||||
if (!MO.isReg())
|
||||
continue;
|
||||
unsigned Reg = MO.getReg();
|
||||
if (!Reg)
|
||||
continue;
|
||||
if (TargetRegisterInfo::isVirtualRegister(Reg))
|
||||
DeadDefs.push_back(Reg);
|
||||
if (MO.isDead())
|
||||
|
Loading…
Reference in New Issue
Block a user