[mips][microMIPS] Fix bugs related to atomic SC/LL instructions
authorJozef Kolek <jozef.kolek@imgtec.com>
Thu, 18 Dec 2014 16:39:29 +0000 (16:39 +0000)
committerJozef Kolek <jozef.kolek@imgtec.com>
Thu, 18 Dec 2014 16:39:29 +0000 (16:39 +0000)
commitc9ae6ee7a065370730d5e69158435d2b9dad02b8
treea50056a44f6d3320113c337145d5ce879484fc64
parent329944876988b6e2cba7190ff8a75c906ee8fc81
[mips][microMIPS] Fix bugs related to atomic SC/LL instructions

Fix bugs related to atomic microMIPS SC/LL instructions: While expanding atomic
operations the mips32r2 encoding was emitted instead of microMIPS.

Differential Revision: http://reviews.llvm.org/D6659

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
test/CodeGen/Mips/atomic.ll
test/CodeGen/Mips/micromips-atomic1.ll [new file with mode: 0644]