mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[NFC] Reflow some debug messages.
This commit is contained in:
parent
1ae2c0fb16
commit
c2bd628550
@ -516,15 +516,17 @@ bool DetectDeadLanes::runOnce(MachineFunction &MF) {
|
||||
transferDefinedLanesStep(MO, Info.DefinedLanes);
|
||||
}
|
||||
|
||||
LLVM_DEBUG(dbgs() << "Defined/Used lanes:\n"; for (unsigned RegIdx = 0;
|
||||
RegIdx < NumVirtRegs;
|
||||
++RegIdx) {
|
||||
unsigned Reg = Register::index2VirtReg(RegIdx);
|
||||
const VRegInfo &Info = VRegInfos[RegIdx];
|
||||
dbgs() << printReg(Reg, nullptr)
|
||||
<< " Used: " << PrintLaneMask(Info.UsedLanes)
|
||||
<< " Def: " << PrintLaneMask(Info.DefinedLanes) << '\n';
|
||||
} dbgs() << "\n";);
|
||||
LLVM_DEBUG({
|
||||
dbgs() << "Defined/Used lanes:\n";
|
||||
for (unsigned RegIdx = 0; RegIdx < NumVirtRegs; ++RegIdx) {
|
||||
unsigned Reg = Register::index2VirtReg(RegIdx);
|
||||
const VRegInfo &Info = VRegInfos[RegIdx];
|
||||
dbgs() << printReg(Reg, nullptr)
|
||||
<< " Used: " << PrintLaneMask(Info.UsedLanes)
|
||||
<< " Def: " << PrintLaneMask(Info.DefinedLanes) << '\n';
|
||||
}
|
||||
dbgs() << "\n";
|
||||
});
|
||||
|
||||
bool Again = false;
|
||||
// Mark operands as dead/unused.
|
||||
|
@ -406,8 +406,8 @@ Value *HardwareLoop::InitLoopCount() {
|
||||
}
|
||||
|
||||
if (!isSafeToExpandAt(TripCount, BB->getTerminator(), SE)) {
|
||||
LLVM_DEBUG(dbgs() << "- Bailing, unsafe to expand TripCount "
|
||||
<< *TripCount << "\n");
|
||||
LLVM_DEBUG(dbgs() << "- Bailing, unsafe to expand TripCount " << *TripCount
|
||||
<< "\n");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@ -424,9 +424,9 @@ Value *HardwareLoop::InitLoopCount() {
|
||||
UseLoopGuard = UseLoopGuard && CanGenerateTest(L, Count);
|
||||
BeginBB = UseLoopGuard ? BB : L->getLoopPreheader();
|
||||
LLVM_DEBUG(dbgs() << " - Loop Count: " << *Count << "\n"
|
||||
<< " - Expanded Count in " << BB->getName() << "\n"
|
||||
<< " - Will insert set counter intrinsic into: "
|
||||
<< BeginBB->getName() << "\n");
|
||||
<< " - Expanded Count in " << BB->getName() << "\n"
|
||||
<< " - Will insert set counter intrinsic into: "
|
||||
<< BeginBB->getName() << "\n");
|
||||
return Count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user