forked from OSchip/llvm-project
Minor fix debug for register allocation debug output.
llvm-svn: 59961
This commit is contained in:
parent
dc2dac181a
commit
1dc8363d95
|
@ -808,14 +808,14 @@ void RABigBlock::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
|||
if (PhysReg) {
|
||||
DOUT << " Register " << RegInfo->getName(PhysReg)
|
||||
<< " [%reg" << VirtReg
|
||||
<< "] is never used, removing it frame live list\n";
|
||||
<< "] is never used, removing it from live set\n";
|
||||
removePhysReg(PhysReg);
|
||||
for (const unsigned *AliasSet = RegInfo->getAliasSet(PhysReg);
|
||||
*AliasSet; ++AliasSet) {
|
||||
if (PhysRegsUsed[*AliasSet] != -2) {
|
||||
DOUT << " Register " << RegInfo->getName(*AliasSet)
|
||||
<< " [%reg" << *AliasSet
|
||||
<< "] is never used, removing it frame live list\n";
|
||||
<< "] is never used, removing it from live set\n";
|
||||
removePhysReg(*AliasSet);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -945,14 +945,14 @@ void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
|||
if (PhysReg) {
|
||||
DOUT << " Register " << TRI->getName(PhysReg)
|
||||
<< " [%reg" << VirtReg
|
||||
<< "] is never used, removing it frame live list\n";
|
||||
<< "] is never used, removing it from live set\n";
|
||||
removePhysReg(PhysReg);
|
||||
for (const unsigned *AliasSet = TRI->getAliasSet(PhysReg);
|
||||
*AliasSet; ++AliasSet) {
|
||||
if (PhysRegsUsed[*AliasSet] != -2) {
|
||||
DOUT << " Register " << TRI->getName(*AliasSet)
|
||||
<< " [%reg" << *AliasSet
|
||||
<< "] is never used, removing it frame live list\n";
|
||||
<< "] is never used, removing it from live set\n";
|
||||
removePhysReg(*AliasSet);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue