[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)
commit2f27d571c8a757b5a48dfb7b28e24f728f4e317b
tree39824919e800e8127f8314f1a5b25257a1de9fd6
parent2c5a89728d3fd58fb058e0eaa829605b3f50b3ef
[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

llvm-svn: 224524
llvm/lib/Target/Mips/MipsISelLowering.cpp
llvm/test/CodeGen/Mips/atomic.ll
llvm/test/CodeGen/Mips/micromips-atomic1.ll [new file with mode: 0644]