lost newlines between blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50024
91177308-0d34-0410-b5e6-
96231b3b80d8
///
void AssemblyWriter::printBasicBlock(const BasicBlock *BB) {
if (BB->hasName()) // Print out the label if it exists...
- Out << getLLVMName(BB->getName(), LabelPrefix) << ':';
+ Out << '\n' << getLLVMName(BB->getName(), LabelPrefix) << ':';
if (const BasicBlock* unwindDest = BB->getUnwindDest()) {
if (BB->hasName())
}
if (!BB->hasName() && !BB->use_empty()) { // Don't print block # of no uses...
- Out << "; <label>:";
+ Out << "\n; <label>:";
int Slot = Machine.getLocalSlot(BB);
if (Slot != -1)
Out << Slot;