Make it a little bit more explicit that the MBlaze backend only supports upto

32-bit immediate values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Wesley Peck
2010-11-21 21:39:46 +00:00
parent 5437ba48ce
commit 6e749f31c6
2 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ void MBlazeInstPrinter::printUnsignedImm(const MCInst *MI, int OpNo,
raw_ostream &O) {
const MCOperand &MO = MI->getOperand(OpNo);
if (MO.isImm())
O << MO.getImm();
O << (uint32_t)MO.getImm();
else
printOperand(MI, OpNo, O, NULL);
}