diff options
| author | Dan Gohman <gohman@apple.com> | 2011-05-21 01:05:08 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2011-05-21 01:05:08 +0000 |
| commit | 8b20187c822117845e13a835e81c17c8571e7331 (patch) | |
| tree | 73bfa92dd20673b802c6c51cda5d6975ae66bfba /llvm/test/Analysis/BasicAA | |
| parent | d5d0764b3b07a72cd370396332bbd382ebc876a4 (diff) | |
| download | bcm5719-llvm-8b20187c822117845e13a835e81c17c8571e7331.tar.gz bcm5719-llvm-8b20187c822117845e13a835e81c17c8571e7331.zip | |
When BasicAA can determine that two pointers have the same base but
differ by a dynamic offset, return PartialAlias instead of MayAlias.
See the comment in the code for details. This fixes PR9971.
llvm-svn: 131781
Diffstat (limited to 'llvm/test/Analysis/BasicAA')
| -rw-r--r-- | llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll b/llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll index 2b0cd78fece..7b5584e0bd8 100644 --- a/llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll +++ b/llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {1 may alias} +; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {1 partial alias} ; PR7959 target datalayout = "e-p:32:32:32" |

