projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc3fb5
)
Remove unnecessary check. isDelayFiller(MBB, I) will evaluate to true before
author
Akira Hatanaka
<ahatanaka@mips.com>
Wed, 5 Oct 2011 01:15:31 +0000
(
01:15
+0000)
committer
Akira 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
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsDelaySlotFiller.cpp
b/lib/Target/Mips/MipsDelaySlotFiller.cpp
index 9d104476eeb2360b96e69bf075663b61a37854b1..dbcfc19d88a513142c8f959017316f1cbff164ba 100644
(file)
--- 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()
//