[all-commits] [llvm/llvm-project] 18679a: [PowerPC] Adjust `MaxAtomicSizeInBitsSupported` on...
bzEq via All-commits
all-commits at lists.llvm.org
Fri Apr 8 17:03:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18679ac0d7ec0fb3ccd500073827fde76bb206b0
https://github.com/llvm/llvm-project/commit/18679ac0d7ec0fb3ccd500073827fde76bb206b0
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2022-04-09 (Sat, 09 Apr 2022)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/atomics-i128.ll
M llvm/test/Transforms/AtomicExpand/PowerPC/cmpxchg.ll
Log Message:
-----------
[PowerPC] Adjust `MaxAtomicSizeInBitsSupported` on PPC64
AtomicExpandPass uses this variable to determine emitting libcalls or not. The default value is 1024 and if we don't specify it for PPC64 explicitly, AtomicExpandPass won't emit `__atomic_*` libcalls for those target unable to inline atomic ops and finally the backend emits `__sync_*` libcalls. Thanks @efriedma for pointing it out.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D122868
More information about the All-commits
mailing list