mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Minor fix debug for register allocation debug output.
llvm-svn: 59961
This commit is contained in:
parent
9816d42357
commit
b316bd9e62
@ -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
Block a user