[clang] [compiler-rt] [llvm] [clang] builtins for atomicrmw fminmax/_num (PR #187139)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 1 14:14:21 PDT 2026
gonzalobg wrote:
I emailed the gcc mailing list and opened an RFC and got no objections for now.
I had a call with Matthew Malcomson.
He asked: why does clang add `..._fetch`-versions (returning the new value) of all the atomics builtins?
TBH I only added them due to inertia and don't know the answer.
@efriedma-quic @jyknight @jdoerfert do you know?
I've removed these for now since they are not needed for libc++.
Happy to add them in a subsequent PR if there is a need.
https://github.com/llvm/llvm-project/pull/187139
More information about the cfe-commits
mailing list