Skip to content
Commit 3012a1b4 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Fix one bug in the latest incarnation of r209843 -- combining GEPs

across PHI nodes. The code was computing the Idxs from the 'GEP'
variable's indices when what it wanted was Op1's indices. This caused an
ASan heap-overflow for me that pin pointed the issue when Op1 had more
indices than GEP did. =] I'll let Louis add a specific test case for
this if he wants.

llvm-svn: 209857
parent 11b49c38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment