mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Temporary workaround problem with signed 32-bit imm's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
64d52d4a5d
commit
319f381bbc
@ -180,7 +180,8 @@ void SystemZAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
|
||||
O << '%' << TM.getRegisterInfo()->get(MO.getReg()).AsmName;
|
||||
return;
|
||||
case MachineOperand::MO_Immediate:
|
||||
O << MO.getImm();
|
||||
// FIXME: Temporary until generic tblgen stuff won't be resolved.
|
||||
O << (int32_t)MO.getImm();
|
||||
return;
|
||||
case MachineOperand::MO_MachineBasicBlock:
|
||||
printBasicBlockLabel(MO.getMBB());
|
||||
|
Loading…
Reference in New Issue
Block a user