[mips] Fix a bug in MipsLongBranch::replaceBranch, which was erasing
authorAkira Hatanaka <ahatanaka@mips.com>
Fri, 4 Oct 2013 20:51:40 +0000 (20:51 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Fri, 4 Oct 2013 20:51:40 +0000 (20:51 +0000)
commit60ccc3b0ece748b6d0b6bb51ccd1c4e31d334424
tree9221cd2f2f836e96a99568266799de45298a6bee
parentaf57bdf7d673a3731fb887218e7a9ccd1576ab4f
[mips] Fix a bug in MipsLongBranch::replaceBranch, which was erasing
instructions in delay slots along with the original branch instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191978 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsLongBranch.cpp
test/CodeGen/Mips/longbranch.ll