commit | 5136ca2c6d8e6b9d1a00cc0d1327903b04564046 | [log] [tgz] |
---|---|---|
author | Lawrence Hu <lawrence@codeaurora.org> | Fri Jul 24 22:01:49 2015 +0000 |
committer | Lawrence Hu <lawrence@codeaurora.org> | Fri Jul 24 22:01:49 2015 +0000 |
tree | 7b2579a48b67cc2ad61da43b9ce6e1263b7d67c3 | |
parent | b0fd31a910a0f241019ec88a82d0c9d611ea22d0 [diff] |
Handle loop with negtive induction variable increment This patch extend LoopReroll pass to hand the loops which is similar to the following: while (len > 1) { sum4 += buf[len]; sum4 += buf[len-1]; len -= 2; } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243171 91177308-0d34-0410-b5e6-96231b3b80d8