Fix an error in the MBlaze delay slot filler.
llvm-svn: 129313
This commit is contained in:
parent
0625b1f860
commit
f30a0e2d80
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue