Handle loop with negtive induction variable increment
This patch extends LoopReroll pass to hand the loops which
are similar to the following:
while (len > 1) {
sum4 += buf[len];
sum4 += buf[len-1];
len -= 2;
}Basically, negative loop increment.
The original patch will be split into 3, that's the first one.
s/it's/its/