[PATCH] D47553: Add TargetLowering::shouldExpandAtomicToLibCall and query it from AtomicExpandPass
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 31 08:11:30 PDT 2018
efriedma added a comment.
On other architectures which have 32-bit atomics, but not 8 and 16-bit atomics, it's generally possible to lower smaller operations using a 32-bit cmpxchg loop. Does that not work on RISCV for some reason?
https://reviews.llvm.org/D47553
More information about the llvm-commits
mailing list