mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
Minor fix debug for register allocation debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25cf2275ff
commit
faa3d82a31
@ -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