[PATCH] D26120: [Cortex-M0] Atomic lowering

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 29 12:26:27 PDT 2016


weimingz created this revision.
weimingz added a subscriber: llvm-commits.
weimingz set the repository for this revision to rL LLVM.
Herald added a subscriber: aemerson.

ARMv6m supports dmb etc fench instructions but not ldrex/strex etc. So for some atomic load/store, LLVM should inline instructions instead of lowering to __sync_ calls.


Repository:
  rL LLVM

https://reviews.llvm.org/D26120

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMSubtarget.cpp
  lib/Target/ARM/ARMSubtarget.h
  test/CodeGen/ARM/atomic-op.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26120.76315.patch
Type: text/x-patch
Size: 4797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161029/557c5021/attachment.bin>


More information about the llvm-commits mailing list