[PATCH] D33328: [CodeGen] Pessimize aliasing for union members (and may-alias) objects

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 09:32:31 PDT 2017


hfinkel added inline comments.


================
Comment at: test/CodeGen/union-tbaa1.c:44
+// CHECK: ![[CHAR:[0-9]+]] = !{!"omnipotent char"
+// CHECK: ![[OCPATH]] = !{![[CHAR]]
----------------
kparzysz wrote:
> hfinkel wrote:
> > Please check the path offset?
> What needs to be checked exactly?  The offset will be 0, do you want to check for that?
Yes, because if it's not zero, this won't have the desired effect.


Repository:
  rL LLVM

https://reviews.llvm.org/D33328





More information about the cfe-commits mailing list