[llvm] [clang] [clang-tools-extra] [X86] Use plain load/store instead of cmpxchg16b for atomics with AVX (PR #74275)
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 16 07:38:02 PST 2023
================
@@ -30115,12 +30126,16 @@ X86TargetLowering::shouldExpandAtomicLoadInIR(LoadInst *LI) const {
// If this a 64 bit atomic load on a 32-bit target and SSE2 is enabled, we
// can use movq to do the load. If we have X87 we can load into an 80-bit
// X87 register and store it to a stack temporary.
----------------
jyknight wrote:
Done.
https://github.com/llvm/llvm-project/pull/74275
More information about the llvm-commits
mailing list