Skip to content
Commit ee20294a authored by Vedant Kumar's avatar Vedant Kumar
Browse files

[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
parent 45533b40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment