projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e591b20
)
hopefully address PR3379 by making the P modifier work in x86 inline asm.
author
Chris Lattner
<sabre@nondot.org>
Fri, 23 Jan 2009 22:33:40 +0000
(22:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 23 Jan 2009 22:33:40 +0000
(22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62887
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
index df0b107f9d84b4446cc6ccf1f338098da9a1722c..e09411a51764dcf7537ef3dde3103bc3765491f9 100644
(file)
--- a/
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@
-709,6
+709,9
@@
bool X86ATTAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
case 'q': // Print SImode register
// These only apply to registers, ignore on mem.
break;
case 'q': // Print SImode register
// These only apply to registers, ignore on mem.
break;
+ case 'P': // Don't print @PLT, but do print as memory.
+ printOperand(MI, OpNo, "mem");
+ return false;
}
}
printMemReference(MI, OpNo);
}
}
printMemReference(MI, OpNo);