diff options
author | Wesley Peck <peckw@wesleypeck.com> | 2011-04-11 22:45:02 +0000 |
---|---|---|
committer | Wesley Peck <peckw@wesleypeck.com> | 2011-04-11 22:45:02 +0000 |
commit | f30a0e2d80fcfb5ca19e48195f90339ce8a3c62c (patch) | |
tree | 10ec94712c8009c14f08d424fd56faaf6e8c8b30 /llvm | |
parent | 0625b1f8609c7813aa8802345b775d32d13eda7f (diff) | |
download | bcm5719-llvm-f30a0e2d80fcfb5ca19e48195f90339ce8a3c62c.tar.gz bcm5719-llvm-f30a0e2d80fcfb5ca19e48195f90339ce8a3c62c.zip |
Fix an error in the MBlaze delay slot filler.
llvm-svn: 129313
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp b/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp index 4399ee28009..973e96844e8 100644 --- a/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp +++ b/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp @@ -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 |