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 ace2a02a84
commit abbae3bc5e
1 changed files with 2 additions and 1 deletions

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