[PATCH] D55262: [OpenCL] Fix for TBAA information of pointer after addresspacecast

John McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 6 10:02:09 PST 2018


rjmccall added a comment.

In D55262#1321048 <https://reviews.llvm.org/D55262#1321048>, @romanovvlad wrote:

> I'm getting the same IR for both examples you provided. And for both load of X value is aligned on 4 bytes wo patch and on 1 byte with.


That's odd, because the natural type alignment for `A` ought to be 1, since it's a packed type.  What does the AST look like?


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

https://reviews.llvm.org/D55262





More information about the llvm-commits mailing list