From f2f70c2493b9880333b9c052fe7cb56331198599 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 5 Oct 2011 01:15:31 +0000 Subject: [PATCH] Remove unnecessary check. isDelayFiller(MBB, I) will evaluate to true before 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index 9d104476eeb..dbcfc19d88a 100644 --- a/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/lib/Target/Mips/MipsDelaySlotFiller.cpp @@ -146,7 +146,6 @@ Filler::findDelayInstr(MachineBasicBlock &MBB, if (I->hasUnmodeledSideEffects() || I->isInlineAsm() || I->isLabel() - || I->getDesc().hasDelaySlot() || isDelayFiller(MBB, I) || I->getDesc().isPseudo() //