diff options
author | Vedant Kumar <vsk@apple.com> | 2016-05-11 15:45:43 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-05-11 15:45:43 +0000 |
commit | ee20294af55e73f12829aefd0b6519cf81efe93d (patch) | |
tree | 77be1cf4e8cecb08ca9aca9adbc6daad5f2aeb99 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 45533b4060c781a7925faec9f9a933e568e0480b (diff) | |
download | llvm-ee20294af55e73f12829aefd0b6519cf81efe93d.zip llvm-ee20294af55e73f12829aefd0b6519cf81efe93d.tar.gz llvm-ee20294af55e73f12829aefd0b6519cf81efe93d.tar.bz2 |
[BasicAA] Compare GEP indices based on value (Fix PR27418)
Equivalent GEP indices with different types are treated as different
indices altogether, leading to an incorrect AA result. Fix the issue
by comparing indices based on their values.
Thanks to Mikael Holmén for reporting the issue!
Differential Revision: http://reviews.llvm.org/D19935
llvm-svn: 269197
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions