HomePhabricator

ARM: use LLVM's atomicrmw instructions when ldrex/strex are available.

Description

ARM: use LLVM's atomicrmw instructions when ldrex/strex are available.

Having some kind of weird kernel-assisted ABI for these when the
native instructions are available appears to be (and should be) the
exception; OSs have been gradually opting in for years and the code
was getting silly.

So let LLVM decide whether it's possible/profitable to inline them by
default.

Patch by Phoebe Buckheister.

Details

Committed
tnorthoverJul 9 2014, 2:24 AM
Parents
rL212597: clang-format: Add new option to indent wrapped function declarations.
Branches
Unknown
Tags
Unknown

Event Timeline