[PATCH] D54654: Correct CreateAlignmentAssumption to check sign and power-of-2 (Clang Part)

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 16 14:59:30 PST 2018


erichkeane created this revision.
erichkeane added reviewers: jyknight, craig.topper, lebedev.ri.

As discussed on IRC, check sign/power of 2 correctly for the
alignment assumptions.


Repository:
  rC Clang

https://reviews.llvm.org/D54654

Files:
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/alloc-align-attr.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54654.174460.patch
Type: text/x-patch
Size: 7516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181116/9e0d5b07/attachment.bin>


More information about the cfe-commits mailing list