The CE version was too constrained - it seems like it was not relaxed enough when vector GEPs were introduces.
This relaxes the checks to be similar to the ones for the instruction version.
This fixes PR30816.
Differential D28013
[LLParser] Reader vector GEP ConsantExpr correctly mkuper on Dec 20 2016, 6:18 PM. Authored by
Details The CE version was too constrained - it seems like it was not relaxed enough when vector GEPs were introduces. This fixes PR30816.
Diff Detail |
else
If you add these 2 lines, you check that all indices have the same vector width.