diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-09-09 20:45:50 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-09-09 20:45:50 +0000 |
commit | 8ddf6531b88937dec35bf2bb3a55245b1af9cbf5 (patch) | |
tree | b02f180f3b69779d7e4915457516d4c04c34c8b7 /lib/Target/Mips/MipsDelaySlotFiller.cpp | |
parent | 8ffad56f8eb41c73ecf40d1aa473819eb6915c12 (diff) |
Drop support for Mips1 and Mips2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsDelaySlotFiller.cpp')
-rw-r--r-- | lib/Target/Mips/MipsDelaySlotFiller.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index c3a6211399..1a4ef0cd7a 100644 --- a/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/lib/Target/Mips/MipsDelaySlotFiller.cpp @@ -60,9 +60,7 @@ runOnMachineBasicBlock(MachineBasicBlock &MBB) bool Changed = false; for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) { const MCInstrDesc& MCid = I->getDesc(); - if (MCid.hasDelaySlot() && - (TM.getSubtarget<MipsSubtarget>().isMips1() || - MCid.isCall() || MCid.isBranch() || MCid.isReturn())) { + if (MCid.hasDelaySlot()) { MachineBasicBlock::iterator J = I; ++J; BuildMI(MBB, J, I->getDebugLoc(), TII->get(Mips::NOP)); |