From: Wesley Peck Date: Mon, 11 Apr 2011 22:45:02 +0000 (+0000) Subject: Fix an error in the MBlaze delay slot filler. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ef9d9fdde13312825586350495746b0a8205ff12;p=oota-llvm.git 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 --- diff --git a/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp b/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp index 4399ee28009..973e96844e8 100644 --- a/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp +++ b/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