[PATCH] D33328: [CodeGen] Pessimize aliasing for union members (and may-alias) objects
Krzysztof Parzyszek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 24 11:40:52 PDT 2017
kparzysz updated this revision to Diff 100142.
kparzysz added a comment.
Pass char TBAA directly to DecorateInstructionWithTBAA and pass true for ConvertTypeToTag in such cases.
Repository:
rL LLVM
https://reviews.llvm.org/D33328
Files:
lib/CodeGen/CGExpr.cpp
test/CodeGen/union-tbaa1.c
test/CodeGenCXX/union-tbaa2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33328.100142.patch
Type: text/x-patch
Size: 5685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170524/0f0bea28/attachment-0001.bin>
More information about the cfe-commits
mailing list