[PATCH] D120026: [ARM] Fix ARM backend to correctly use atomic expansion routines.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 2 09:50:26 PDT 2022


efriedma added a comment.

By "the builtins", do you mean you're using compiler-rt with `-DCOMPILER_RT_EXCLUDE_ATOMIC_BUILTIN=Off`?  That implementation probably don't work on a Cortex-M0, unless you've hacked it somehow; it assumes width-1 lock-free atomics are available.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120026



More information about the llvm-commits mailing list