1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Temporary workaround problem with signed 32-bit imm's

llvm-svn: 75967
This commit is contained in:
Anton Korobeynikov 2009-07-16 14:00:42 +00:00
parent 0ed25fd249
commit 2bdca8fa4c

View File

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