[PATCH] D141187: [SystemZ] Set setMaxAtomicSizeInBitsSupported
Thorsten via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 14 12:56:07 PST 2023
tschuett added a comment.
No, yo don't. You cannot mix lock-free and mutex atomics. E.g, if loads are lock-free and stores use a mutex. Then you have lost atomicity. Your mutex version could do stores one byte at a time.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141187/new/
https://reviews.llvm.org/D141187
More information about the llvm-commits
mailing list