AArch64: use ldxp/stxp pair to implement 128-bit atomic loads.
[oota-llvm.git] / lib / Target / Hexagon / HexagonISelLowering.cpp
index 969edf6d55723f523e941d799180c301353a67e9..04f5b6649293d448862526595e05349301badece 100644 (file)
@@ -2863,7 +2863,7 @@ TargetLowering::AtomicExpansionKind
 HexagonTargetLowering::shouldExpandAtomicLoadInIR(LoadInst *LI) const {
   // Do not expand loads and stores that don't exceed 64 bits.
   return LI->getType()->getPrimitiveSizeInBits() > 64
-             ? AtomicExpansionKind::LLSC
+             ? AtomicExpansionKind::LLOnly
              : AtomicExpansionKind::None;
 }