jyknight wrote: > > Did this change anything for the `scoped_atomic_compare_exchange_n` variant I added recently? The scoped variant(s) use the same codepath here, so they'll also verify that the failure order is valid. https://github.com/llvm/llvm-project/pull/74959