[PATCH] D71726: Let clang atomic builtins fetch add/sub support floating point types
James Y Knight via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 09:13:28 PDT 2020
jyknight added a comment.
Oh, one more note, C11 has -- and clang already supports -- `_Atomic long double x; x += 4;` via lowering to a cmpxchg loop. Now that we have an LLVM IR representation for atomicrmw fadd/fsub, clang should be lowering the _Atomic += to that, too. (Doesn't need to be in this patch, but it should be done.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71726/new/
https://reviews.llvm.org/D71726
More information about the cfe-commits
mailing list