Looking for some input on this combine wrt scalable vectors. Right now, it uses code like this:
unsigned NumElts = VT.getVectorNumElements(); ... if ((NumElts % Scale) == 0 && (InsIdx % Scale) == 0) {
So it's obviously not compatible with scalable vectors right now.
Has anyone thought through overloading % for ElementCount? At first glance, it seems like we can't since we don't know the vscale. Am I missing something there?