1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC

llvm-svn: 33494
This commit is contained in:
Chris Lattner 2007-01-25 02:52:50 +00:00
parent bac9cae375
commit c3f461a03c

View File

@ -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() ||