diff options
| author | Gerolf Hoflehner <ghoflehner@apple.com> | 2016-10-22 02:41:39 +0000 |
|---|---|---|
| committer | Gerolf Hoflehner <ghoflehner@apple.com> | 2016-10-22 02:41:39 +0000 |
| commit | 9e2afa8bd79b1cc3a6be15856371aa5f43f37d22 (patch) | |
| tree | eacfa5f7e3280bbce75dcb5dd39bdeccb04bd339 /llvm/lib/Transforms | |
| parent | 6294a768e5b42dec43a6176c2d3f09038af78b9d (diff) | |
| download | bcm5719-llvm-9e2afa8bd79b1cc3a6be15856371aa5f43f37d22.tar.gz bcm5719-llvm-9e2afa8bd79b1cc3a6be15856371aa5f43f37d22.zip | |
[BasicAA] Fix - missed alias in GEP expressions
In BasicAA GEP operand values get adjusted ("wrap-around") based on the
pointersize. Otherwise, in non-64b modes, AA could report false negatives.
However, a wrap-around is valid only for a fully evaluated expression.
It had been introduced to fix an alias problem in
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160118/326163.html.
This commit restricts the wrap-around to constant gep operands only where the
value is known at compile-time.
llvm-svn: 284908
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

