Use the correct opcodes: SLLV/SRLV or AND must be used instead of SLL/SRL or
authorAkira Hatanaka <ahatanak@gmail.com>
Tue, 19 Jul 2011 20:34:00 +0000 (20:34 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Tue, 19 Jul 2011 20:34:00 +0000 (20:34 +0000)
commitcc7ecc72909fe3f2a3eba9e7ac79cd1a13b3e8f2
tree3cd4b9a8a1578a4310cc25f7e17f7d56885b77c7
parent2317fe1584e02582c616c1c4d15954999ff5525a
Use the correct opcodes: SLLV/SRLV or AND must be used instead of SLL/SRL or
ANDi, when the instruction does not have any immediate operands.

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