aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKai Luo <lkail@cn.ibm.com>2022-04-08 23:42:06 +0000
committerKai Luo <lkail@cn.ibm.com>2022-04-09 00:03:09 +0000
commit18679ac0d7ec0fb3ccd500073827fde76bb206b0 (patch)
treed9e38b33115c89413dd9d3cd4b3cba4d9cc744fb /clang/lib/Frontend/CompilerInvocation.cpp
parentc8e1c94983421c934556bb3f0418fe654fc2a839 (diff)
downloadllvm-18679ac0d7ec0fb3ccd500073827fde76bb206b0.zip
llvm-18679ac0d7ec0fb3ccd500073827fde76bb206b0.tar.gz
llvm-18679ac0d7ec0fb3ccd500073827fde76bb206b0.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions