mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-10 16:24:04 +00:00
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:
parent
c2c4cbf7b3
commit
6aa219a18c
@ -294,7 +294,7 @@ void ARMAsmPrinter::printOperand(const MachineInstr *MI, int opNum,
|
|||||||
if (!Modifier || strcmp(Modifier, "no_hash") != 0)
|
if (!Modifier || strcmp(Modifier, "no_hash") != 0)
|
||||||
O << "#";
|
O << "#";
|
||||||
|
|
||||||
O << (int)MO.getImm();
|
O << MO.getImm();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MachineOperand::MO_MachineBasicBlock:
|
case MachineOperand::MO_MachineBasicBlock:
|
||||||
|
Loading…
Reference in New Issue
Block a user