Make it a little bit more explicit that the MBlaze backend only supports upto
[oota-llvm.git] / lib / Target / MBlaze / MBlazeAsmPrinter.cpp
index d919d437cca1be81b327518830c314585f8bae32..6c206d0debfd9a04f18b70f8a9dd436ea55ba455 100644 (file)
@@ -145,7 +145,7 @@ void MBlazeAsmPrinter::printOperand(const MachineInstr *MI, int opNum,
     break;
 
   case MachineOperand::MO_Immediate:
-    O << (int)MO.getImm();
+    O << (int32_t)MO.getImm();
     break;
 
   case MachineOperand::MO_FPImmediate: {
@@ -188,7 +188,7 @@ void MBlazeAsmPrinter::printUnsignedImm(const MachineInstr *MI, int opNum,
                                         raw_ostream &O) {
   const MachineOperand &MO = MI->getOperand(opNum);
   if (MO.isImm())
-    O << (unsigned int)MO.getImm();
+    O << (uint32_t)MO.getImm();
   else
     printOperand(MI, opNum, O);
 }