mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
[RDA] Fix printing of regs / reg units. NFC
It was printing RegUnits as Regs, leading to much confusion in the debug logs.
This commit is contained in:
parent
66261e9287
commit
cedff971cb
@ -125,7 +125,7 @@ void ReachingDefAnalysis::processDefs(MachineInstr *MI) {
|
||||
for (MCRegUnitIterator Unit(MO.getReg().asMCReg(), TRI); Unit.isValid();
|
||||
++Unit) {
|
||||
// This instruction explicitly defines the current reg unit.
|
||||
LLVM_DEBUG(dbgs() << printReg(*Unit, TRI) << ":\t" << CurInstr
|
||||
LLVM_DEBUG(dbgs() << printRegUnit(*Unit, TRI) << ":\t" << CurInstr
|
||||
<< '\t' << *MI);
|
||||
|
||||
// How many instructions since this reg unit was last written?
|
||||
|
Loading…
Reference in New Issue
Block a user