Reorder setMaxAtomicSizeInBitsSupported() in numerical and more logical order.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D155379
setLibcallName(RTLIB::MULO_I64, nullptr);
}
- if (!isPPC64)
- setMaxAtomicSizeInBitsSupported(32);
- else if (shouldInlineQuadwordAtomics())
+ if (shouldInlineQuadwordAtomics())
setMaxAtomicSizeInBitsSupported(128);
- else
+ else if (isPPC64)
setMaxAtomicSizeInBitsSupported(64);
+ else
+ setMaxAtomicSizeInBitsSupported(32);
setStackPointerRegisterToSaveRestore(isPPC64 ? PPC::X1 : PPC::R1);