OSDN Git Service

Atomic load/store on ARM/Thumb.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 26 Aug 2011 02:59:24 +0000 (02:59 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 26 Aug 2011 02:59:24 +0000 (02:59 +0000)
commit069e2ed794a90cb5108a35627ee148866795f140
treeb335f5ad0d1e7600995ef2848b83090b79121934
parent9bb5488dbd152de41ffcaedccf94bfc43b069bec
Atomic load/store on ARM/Thumb.

I don't really like the patterns, but I'm having trouble coming up with a
better way to handle them.

I plan on making other targets use the same legalization
ARM-without-memory-barriers is using... it's not especially efficient, but
if anyone cares, it's not that hard to fix for a given target if there's
some better lowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138621 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/atomic-load-store.ll [new file with mode: 0644]