Revert "[compiler-rt] Implement ARM atomic operations for architectures without...
authorEli Friedman <efriedma@quicinc.com>
Thu, 17 Feb 2022 10:17:27 +0000 (02:17 -0800)
committerEli Friedman <efriedma@quicinc.com>
Thu, 17 Feb 2022 10:17:27 +0000 (02:17 -0800)
commit0389f2edf7c252e49323ae0ca6adfea9f2614f6d
tree228ca80bc471213a1f96a826a77697478d5f42e9
parentd20e01bb06fb81a7584c4ae7c7daf5aec2ed0a1a
Revert "[compiler-rt] Implement  ARM atomic operations for architectures without SMP support"

This reverts commit 910a642c0a5b66a8d2517026b890a1acdc447f19.

There are serious correctness issues with the current approach: __sync_*
routines which are not actually atomic should not be enabled by default.

I'll continue discussion on the review.
compiler-rt/cmake/Modules/CompilerRTUtils.cmake
compiler-rt/cmake/config-ix.cmake
compiler-rt/lib/builtins/CMakeLists.txt
compiler-rt/lib/builtins/arm/sync-ops.h