[PATCH] D123642: [clang codegen] Assume arguments of __atomic_* are aligned.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 10:02:34 PDT 2022


efriedma abandoned this revision.
efriedma added a comment.

Opened https://github.com/llvm/llvm-project/issues/54963 to more specifically track the clang issue.

With b27430f <https://reviews.llvm.org/rGb27430f9f46b88bcd54d992debc8d72e131e1bd0>, it should be easy enough to special-case calls to std::__addressof in CodeGenFunction::EmitPointerWithAlignment, so we can just do that, I guess.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123642



More information about the cfe-commits mailing list