[PATCH] D37310: [Atomic] Merge alignment information from Decl and from Type when emit atomic expression.
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 6 17:11:42 PDT 2017
rjmccall added inline comments.
================
Comment at: lib/CodeGen/CGAtomic.cpp:680
+ alignChars = std::max(alignChars, alignDecl);
+ }
+
----------------
Just use EmitPointerWithAlignment instead of EmitScalarExpr to emit the pointer operand.
Repository:
rL LLVM
https://reviews.llvm.org/D37310
More information about the cfe-commits
mailing list