[PATCH] D95891: [ARM] Do not emit ldrexd/strexd on Cortex-M chips

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 10:30:36 PST 2021


aykevl updated this revision to Diff 321151.
aykevl added a comment.

- added comment to `shouldExpandAtomicCmpXchgInIR` explaining Cortex-M exception
- added checks for armv8m architecture (which are the same as armv7m)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95891/new/

https://reviews.llvm.org/D95891

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/ARM/atomic-64bit.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95891.321151.patch
Type: text/x-patch
Size: 5012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210203/5d267f35/attachment.bin>


More information about the llvm-commits mailing list