aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-27 01:48:27 +0000
committerDan Gohman <gohman@apple.com>2009-05-27 01:48:27 +0000
commit72776d219014f6b07485e7dcc5a818849904e720 (patch)
treedff1ceaad2dda626f1639e0b34e6bd35fefda30b /lib/Analysis/ScalarEvolutionExpander.cpp
parent8c377c7296d8a8104231442c3f6c27296249ec5f (diff)
Teach BasicAliasAnalysis to understand constant gep indices that fall
beyond their associated static array type. I believe that this fixes a legitimate bug, because BasicAliasAnalysis already has code to check for this condition that works for non-constant indices, however it was missing the case of constant indices. With this change, it checks for both. This fixes PR4267, and miscompiles of SPEC 188.ammp and 464.h264.href. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions