Fix an error in the MBlaze delay slot filler.

llvm-svn: 129313
This commit is contained in:
Wesley Peck 2011-04-11 22:45:02 +00:00
parent 0625b1f860
commit f30a0e2d80
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static bool hasImmInstruction(MachineBasicBlock::iterator &candidate) {
// We must assume that unknown immediate values require more than
// 16-bits to represent.
if (mop.isGlobal() || mop.isSymbol())
if (mop.isGlobal() || mop.isSymbol() || mop.isJTI() || mop.isCPI())
return true;
// FIXME: we could probably check to see if the FP value happens