[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
Tue May 23 08:29:23 PDT 2017
kparzysz updated this revision to Diff 99918.
kparzysz edited the summary of this revision.
kparzysz added a comment.
Previously, the variable mayAlias in EmitLValueForField could have been false even if the base LValue had may-alias flag set. Make sure that mayAlias reflects the base aliasing.
This fixed the C++ testcase and it's now included in the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4946 bytes
Desc: not available
More information about the cfe-commits