Revert r162713: "Add ATOMIC_LDR* pseudo-instructions to model atomic_load on ARM."
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 28 Aug 2012 03:11:27 +0000 (03:11 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 28 Aug 2012 03:11:27 +0000 (03:11 +0000)
commitcff9baa95273bc279bf5fadb9e27afbd25cca20b
tree730875c1eeb110a771f0879c8371beca62adf957
parent273956d8c6eed86c8b4d616ecb86f7ff17e127d4
Revert r162713: "Add ATOMIC_LDR* pseudo-instructions to model atomic_load on ARM."

This wasn't the right way to enforce ordering of atomics.

We are already setting the isVolatile bit on memory operands of atomic
operations which is good enough to enforce the correct ordering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162732 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/Thumb2SizeReduction.cpp