OSDN Git Service

[SPARC] Fix 8 and 16-bit atomic load and store.
authorJames Y Knight <jyknight@google.com>
Mon, 23 May 2016 20:33:00 +0000 (20:33 +0000)
committerJames Y Knight <jyknight@google.com>
Mon, 23 May 2016 20:33:00 +0000 (20:33 +0000)
commitf891cd3982b59bab0fdf2124d9b4b6281524da84
tree2ab99b7c448ceb6cc09dee5ce8591cd95b72f789
parentd9b93cd3fefa63f897c2fda3cf2a9e76140072b0
[SPARC] Fix 8 and 16-bit atomic load and store.

They were accidentally using the 32-bit load/store instruction for
8/16-bit operations, due to incorrect patterns

(8/16-bit cmpxchg and atomicrmw will be fixed in subsequent changes)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270486 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcInstr64Bit.td
lib/Target/Sparc/SparcInstrInfo.td
test/CodeGen/SPARC/atomics.ll