[PATCH] D16550: Reroll loops with multiple IV and negative step part 3/3 -- support multiple induction variables

Lawrence Hu via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 12:17:17 PST 2016


hulx2000 created this revision.
hulx2000 added reviewers: jmolloy, hfinkel.
hulx2000 added a subscriber: llvm-commits.
hulx2000 set the repository for this revision to rL LLVM.

    This patch enable loop reroll for the following case:
        for(int i=0;  i<N; i += 2) {
           S += *a++;
           S += *a++;
        };


Repository:
  rL LLVM

http://reviews.llvm.org/D16550

Files:
  lib/Transforms/Scalar/LoopRerollPass.cpp
  test/Transforms/LoopReroll/complex_reroll.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16550.45899.patch
Type: text/x-patch
Size: 14147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160125/5f35e26d/attachment.bin>


More information about the llvm-commits mailing list