OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f4fbba
)
Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC
author
Chris Lattner
<sabre@nondot.org>
Thu, 25 Jan 2007 02:52:50 +0000
(
02:52
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 25 Jan 2007 02:52:50 +0000
(
02:52
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33494
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCAsmPrinter.cpp
b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index
7db96a7
..
81926ed
100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-412,6
+412,10
@@
bool PPCAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
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() ||