This is an archive of the discontinued LLVM Phabricator instance.

AtomicExpand: Add NotAtomic lowering strategy
ClosedPublic

Authored by arsenm on Apr 5 2022, 5:35 PM.

Details

Summary

Currently LowerAtomics exists as a separate pass which blindly
replaces all atomics. Add a new lowering strategy option to eliminate
the atomics which the target can control on a per-instruction level.

Diff Detail