[PATCH] D18201: Switch over targets to use AtomicExpandPass, and clean up target atomics code.

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 17:14:47 PDT 2017


wmi added a comment.

Any plan to push the patch recently? After https://reviews.llvm.org/rL312830, with better alignment information of atomic object, more atomic load/store are generated for 128 bits atomic object instead of atomic libcalls. Those 128bits atomic load/store are translated into __sync_* libcalls on x86-64 target without cmpxchg16b support. This patch is needed for atomicExpandPass to generate atomic libcalls before isel to generate __sync_* libcalls.


https://reviews.llvm.org/D18201





More information about the llvm-commits mailing list