[PATCH] D65118: Analysis: Don't look through aliases when simplifying GEPs.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 09:05:21 PDT 2019
pcc added a comment.
Another way to look at it is that this:
@a = private constant i8* @x
@b = linkonce_odr alias @a
should be equivalent to:
@b = linkonce_odr constant i8* @x
except that we also have a way of referencing this module's copy of `@b` via `@a`. See also https://llvm.org/bugs/show_bug.cgi?id=27866 where this was discussed as a "canonical" form of aliases.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65118/new/
https://reviews.llvm.org/D65118
More information about the llvm-commits
mailing list