HomePhabricator

Enable loopreroll to rerool loop with pointer induction variable.

Description

Enable loopreroll to rerool loop with pointer induction variable.

Example:

while (buf !=end ) {

S += buf[0];
S += buf[1];
buf +=2;

};

Differential Revision: http://reviews.llvm.org/D13151