forked from OSchip/llvm-project
implement the 'c' inline asm modifier character
llvm-svn: 31325
This commit is contained in:
parent
13d62d5efa
commit
60ce558aaa
|
@ -399,6 +399,9 @@ bool X86ATTAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
|||
|
||||
switch (ExtraCode[0]) {
|
||||
default: return true; // Unknown modifier.
|
||||
case 'c': // Don't print "$" before a global var name.
|
||||
printOperand(MI, OpNo, "mem");
|
||||
return false;
|
||||
case 'b': // Print QImode register
|
||||
case 'h': // Print QImode high register
|
||||
case 'w': // Print HImode register
|
||||
|
|
Loading…
Reference in New Issue