aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-08-19 21:56:12 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-08-19 21:56:12 +0000
commit43f20a56b28c52339d2a007e88043fa42744641b (patch)
tree910055f84da42b82252a4d9d19775102f06b2eba /lib/Target/PowerPC
parentf51a87cb57a0fde2a46b704b7a5a43ff84d18cb1 (diff)
downloadexternal_llvm-43f20a56b28c52339d2a007e88043fa42744641b.zip
external_llvm-43f20a56b28c52339d2a007e88043fa42744641b.tar.gz
external_llvm-43f20a56b28c52339d2a007e88043fa42744641b.tar.bz2
Fix opcodes being printed in caps (the more general fix may be `AsmWriter')
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPC64AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPC64AsmPrinter.cpp b/lib/Target/PowerPC/PPC64AsmPrinter.cpp
index 37a1d07..74aaad5 100644
--- a/lib/Target/PowerPC/PPC64AsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPC64AsmPrinter.cpp
@@ -569,7 +569,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) {
return;
}
- O << TII.getName(Opcode) << " ";
+ O << LowercaseString(TII.getName(Opcode)) << " ";
if (Opcode == PPC::BLR || Opcode == PPC::NOP) {
O << "\n";
} else if (ArgCount == 3 &&