When aggregating instructions of the same type in the vectorizeChainsInBlock method, SLPVectorizer
does not care about the maximum vector register size. As result, it may generate a vector instruction
which uses vectors that are longer than allowed.
This patch limits the number of aggregated instructions so that their overall size does not exceed
the max allowed vector size.