Fix pr4227: Handle large immediate values in inline assembly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2009-05-19 21:27:57 +00:00
parent c2c4cbf7b3
commit 6aa219a18c

View File

@ -294,7 +294,7 @@ void ARMAsmPrinter::printOperand(const MachineInstr *MI, int opNum,
if (!Modifier || strcmp(Modifier, "no_hash") != 0)
O << "#";
O << (int)MO.getImm();
O << MO.getImm();
break;
}
case MachineOperand::MO_MachineBasicBlock: