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

Alan Phipps via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 17:38:32 PDT 2022


alanphipps added a comment.

In D120026#3423066 <https://reviews.llvm.org/D120026#3423066>, @efriedma wrote:

> The impact on Cortex-M0 is that instead of using `__sync_*`, and inlined atomic load/store ops, it uses `__atomic_*` calls.  I can't imagine that causing timeouts unless you're somehow using a bad implementation of `__atomic_*`.

Hmm. It appears to be getting stuck in the lock and is spinning forever.  Something isn't being built correctly in the builtins, maybe?


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