[PATCH] D13151: Expand loop reroll to handle loop with multiple induction variables and negative increment -part 2/3
Lawrence Hu via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 17:02:25 PDT 2015
hulx2000 created this revision.
hulx2000 added reviewers: apazos, zinob, jmolloy, hfinkel.
hulx2000 added subscribers: mzolotukhin, llvm-commits.
hulx2000 set the repository for this revision to rL LLVM.
Herald added a subscriber: sanjoy.
This patch enable LoopReroll to reroll loop with pointer induction
variable, such as:
while (buf !=end ) {
S += buf[0]; //a[i];
S += buf[1]; //a[i+1];
buf +=2;
};
Repository:
rL LLVM
http://reviews.llvm.org/D13151
Files:
lib/Transforms/Scalar/LoopRerollPass.cpp
test/Transforms/LoopReroll/ptrindvar.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13151.35688.patch
Type: text/x-patch
Size: 10914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/75e3bf6b/attachment.bin>
More information about the llvm-commits
mailing list