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:
Anton Korobeynikov 2009-07-16 14:00:42 +00:00
parent 64d52d4a5d
commit 319f381bbc

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