Remove unnecessary check. isDelayFiller(MBB, I) will evaluate to true before
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 5 Oct 2011 01:15:31 +0000 (01:15 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 5 Oct 2011 01:15:31 +0000 (01:15 +0000)
I->getDesc().hasDelaySlot() does.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141148 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsDelaySlotFiller.cpp

index 9d104476eeb2360b96e69bf075663b61a37854b1..dbcfc19d88a513142c8f959017316f1cbff164ba 100644 (file)
@@ -146,7 +146,6 @@ Filler::findDelayInstr(MachineBasicBlock &MBB,
     if (I->hasUnmodeledSideEffects()
         || I->isInlineAsm()
         || I->isLabel()
-        || I->getDesc().hasDelaySlot()
         || isDelayFiller(MBB, I)
         || I->getDesc().isPseudo()
         //