commit | e513820659729c0e733c065f67832251f67a33fe | [log] [tgz] |
---|---|---|
author | Gerolf Hoflehner <ghoflehner@apple.com> | Sat Oct 22 02:41:39 2016 +0000 |
committer | Gerolf Hoflehner <ghoflehner@apple.com> | Sat Oct 22 02:41:39 2016 +0000 |
tree | 4cf95a8364b6f8281d1aacbae36c32fd2bc53d8b | |
parent | 7c81c7797a6e898025768d620a597759796cab5d [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284908 91177308-0d34-0410-b5e6-96231b3b80d8