-.. _atomics:
-
==============================================
LLVM Atomic Instructions and Concurrency Guide
==============================================
never stored. A normal load or store instruction is usually sufficient, but
note that an unordered load or store cannot be split into multiple
instructions (or an instruction which does multiple memory operations, like
- ``LDRD`` on ARM).
+ ``LDRD`` on ARM without LPAE, or not naturally-aligned ``LDRD`` on LPAE ARM).
Monotonic
---------
operation, and vice versa.
Notes for optimizers
- In general, optimizers should treat this like a nothrow call; the the possible
+ In general, optimizers should treat this like a nothrow call; the possible
optimizations are usually not interesting.
Notes for code generation