[PATCH] D141189: [Mips] Set setMaxAtomicSizeInBitsSupported
Davide Mor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 10:37:20 PST 2023
Tazdevil971 added a comment.
Yes exactly, what I'm saying is that if we just emit sync fences (in the form of libcalls) for CAS/RMW operations it might become impossible to target systems that have some sort of preemption. So I personally would prefer to set atomic width to 0 and generate libcalls for all atomic operations, so implementors for specific environments can do the right thing for the platform.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141189/new/
https://reviews.llvm.org/D141189
More information about the llvm-commits
mailing list