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.
Details
Details
- Reviewers
jsji brad nemanjai efriedma hubert.reinterpretcast - Group Reviewers
Restricted Project - Commits
- rG18679ac0d7ec: [PowerPC] Adjust `MaxAtomicSizeInBitsSupported` on PPC64
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lkail added a parent revision: D122377: [PowerPC] Support 16-byte lock free atomics on pwr8 and up.Mar 31 2022, 11:01 PM
This revision is now accepted and ready to land.Apr 1 2022, 12:10 PM
lkail removed a parent revision: D122377: [PowerPC] Support 16-byte lock free atomics on pwr8 and up.Apr 8 2022, 4:41 PM
This revision was landed with ongoing or failed builds.Apr 8 2022, 5:03 PM
Closed by commit rG18679ac0d7ec: [PowerPC] Adjust `MaxAtomicSizeInBitsSupported` on PPC64 (authored by lkail). · Explain Why
This revision was automatically updated to reflect the committed changes.