Remove redundant instructions.
authorAkira Hatanaka <ahatanak@gmail.com>
Tue, 19 Jul 2011 18:14:26 +0000 (18:14 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Tue, 19 Jul 2011 18:14:26 +0000 (18:14 +0000)
commit70564a9c194aa7c86c94227639de4037bbc3cbe8
treeb4e4f28204137fdae66ae08f5914d325a19262aa
parent81b441151fcbf998862adec79540bed049bbfa81
Remove redundant instructions.
- In EmitAtomicBinaryPartword, mask incr in loopMBB only if atomic.swap is the
  instruction being expanded, instead of masking it in thisMBB.
- Remove redundant Or in EmitAtomicCmpSwap.

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