summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-03 01:09:55 +0000
committerChris Lattner <sabre@nondot.org>2010-02-03 01:09:55 +0000
commit996ec840d0867e95422d1de8f97efd934f233ea6 (patch)
tree581319ef67966e67a4fccce839c58da91c5ad4d9 /llvm/lib/Target/CellSPU
parent41ad1905c91b3bbedbacf42b12f8edef59466084 (diff)
downloadbcm5719-llvm-996ec840d0867e95422d1de8f97efd934f233ea6.tar.gz
bcm5719-llvm-996ec840d0867e95422d1de8f97efd934f233ea6.zip
rejigger the world so that EmitInstruction prints the \n at
the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178
Diffstat (limited to 'llvm/lib/Target/CellSPU')
-rw-r--r--llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
index 92736c2268c..db653a733ca 100644
--- a/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
+++ b/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
@@ -58,6 +58,7 @@ namespace {
void EmitInstruction(const MachineInstr *MI) {
printInstruction(MI);
+ O << '\n';
}
void printOp(const MachineOperand &MO);
OpenPOWER on IntegriCloud