[libcxx-commits] [libcxx] [libc++] Increase `atomic_ref`'s required alignment for small types (PR #99654)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 26 11:12:18 PDT 2024


ldionne wrote:

@dalg24 Can you please rebase this on top of https://github.com/llvm/llvm-project/pull/99570 I just merged and also apply @jyknight 's comment to use `__attribute__((aligned(required_alignment)))`? This should allow the compiler to assume that the pointer is properly aligned and generate more optimal code.

https://github.com/llvm/llvm-project/pull/99654


More information about the libcxx-commits mailing list