[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Wed Jan 24 18:53:06 PST 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.228 -> 1.229
---
Log message:
Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC
---
Diffs of the changes: (+4 -0)
PPCAsmPrinter.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.228 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.229
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.228 Sun Jan 14 00:37:54 2007
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Wed Jan 24 20:52:50 2007
@@ -412,6 +412,10 @@
switch (ExtraCode[0]) {
default: return true; // Unknown modifier.
+ case 'c': // Don't print "$" before a global var name or constant.
+ // PPC never has a prefix.
+ printOperand(MI, OpNo);
+ return false;
case 'L': // Write second word of DImode reference.
// Verify that this operand has two consecutive registers.
if (!MI->getOperand(OpNo).isRegister() ||
More information about the llvm-commits
mailing list