After submitting https://reviews.llvm.org/D57138, I realized it was slightly more conservative than needed. The scalar indices don't appear to be a problem on a scalar gep, we even had a test for that.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The scalar indices don't appear to be a problem on a scalar gep, we even had a test for that.
just to note it is not a scalar gep - this is a vector gep which has a scalar index.