[PATCH] D143813: [ClangFE] Check that __sync builtins are naturally aligned.

Jonas Paulsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 14 07:03:05 PDT 2023


jonpa updated this revision to Diff 513573.
jonpa added a comment.

> Should be straightforward to fix, though; just make CheckAtomicAlignment return the computed pointer.

Something like this?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143813/new/

https://reviews.llvm.org/D143813

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/SystemZ/sync-builtins-i128-16Al.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143813.513573.patch
Type: text/x-patch
Size: 5027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230414/60924629/attachment-0001.bin>


More information about the cfe-commits mailing list