diff options
| author | Dan Gohman <gohman@apple.com> | 2009-05-27 01:48:27 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-05-27 01:48:27 +0000 |
| commit | 776e4c8d359ebf0fa2510f8bf3a72797537be7d1 (patch) | |
| tree | 0d1631b3564919af8288be9b76009771dfba59e6 /clang/lib/Basic/IdentifierTable.cpp | |
| parent | ace7215dd4ab29876036830c7d155bdd8e1fa0ba (diff) | |
| download | bcm5719-llvm-776e4c8d359ebf0fa2510f8bf3a72797537be7d1.tar.gz bcm5719-llvm-776e4c8d359ebf0fa2510f8bf3a72797537be7d1.zip | |
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.
llvm-svn: 72451
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions

