Clean up multi-line asam string printing. Instead of printing:

# InlineAsm Start
        subfc r3,r5,r4
                subfze r4,r3
        # InlineAsm End

print:

        # InlineAsm Start
        subfc r3,r5,r4
        subfze r4,r3
        # InlineAsm End


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-30 17:00:18 +00:00
parent bb1f97cf87
commit 1f6f4c7346

View File

@ -954,7 +954,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
}
case '\n':
++LastEmitted; // Consume newline character.
O << "\n\t"; // Indent code with newline.
O << "\n"; // Indent code with newline.
break;
case '$': {
++LastEmitted; // Consume '$' character.