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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo