[PATCH] D71726: Let clang atomic builtins fetch add/sub support floating point types
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 23 12:28:26 PDT 2020
rjmccall added a comment.
> Yes, there are no generically available libcalls for atomic float math -- but that's okay -- let LLVM handle transform into a cmpxchg loop when required.
I suspect Yaxun's target cannot provide libcalls at all, which is why he wants to diagnose up-front. But I agree that we should be thinking about this uniformly, and that his target should be diagnosing *all* unsupported atomics.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71726/new/
https://reviews.llvm.org/D71726
More information about the cfe-commits
mailing list