const VarLocMap &VarLocIDs,
const char *msg,
raw_ostream &Out) const {
+ Out << '\n' << msg << '\n';
for (const MachineBasicBlock &BB : MF) {
const auto &L = V.lookup(&BB);
Out << "MBB: " << BB.getName() << ":\n";
Out << " Var: " << VL.Var.getVar()->getName();
Out << " MI: ";
VL.dump();
- Out << "\n";
}
}
Out << "\n";
// thing twice. We could avoid this with a custom priority queue, but this
// is probably not worth it.
SmallPtrSet<MachineBasicBlock *, 16> OnPending;
+ DEBUG(dbgs() << "Processing Worklist\n");
while (!Worklist.empty()) {
MachineBasicBlock *MBB = OrderToBB[Worklist.top()];
Worklist.pop();