mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 05:16:06 +00:00

`atomic_compare_exchange` was using `_strong` and `memory_order_acquire` by default. This is not aligned with general use, for example, in C++, the default is `memory_order_seq_cst`. To reduce the ambiguity, make the version and ordering explicitly. Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D156952
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================