Fix pr4227: Handle large immediate values in inline assembly.

llvm-svn: 72138
This commit is contained in:
Bob Wilson 2009-05-19 21:27:57 +00:00
parent ba4a4a012f
commit 335fa435dd
1 changed files with 1 additions and 1 deletions

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: