From 1f6f4c7346b6d78f097f25777211fdd4e4267086 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 30 Apr 2007 17:00:18 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index eb0f2f1b367..aa71ee0b6db 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -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. -- 2.34.1