mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 00:14:20 +00:00
Fix an error in the MBlaze delay slot filler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58194307c1
commit
ef9d9fdde1
@ -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…
x
Reference in New Issue
Block a user