jyknight wrote: This is incorrect: X86 does not support unaligned atomics.
However, LLVM can codegen correctly for atomics of any alignment in IR, on any architecture (via using libcalls when necessary). So the ObjC code's `hasUnalignedAtomics` could be removed, and let the backend deal with it, if that was desirable. https://github.com/llvm/llvm-project/pull/79191 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits