[PATCH] D15559: [LoopUnrollRuntime] Do unroll when IV's setp is one or minus one
Junmo Park via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 22 22:57:25 PST 2015
flyingforyou updated this revision to Diff 43507.
flyingforyou added a comment.
Addressed Sanjoy's comment.
Your comment was really helpful for me. I am still not sure that this patch is ok or not.
But comparing SCEV expression between TripCountSC and exit value makes this patch more robust.
Thanks.
http://reviews.llvm.org/D15559
Files:
lib/Analysis/ScalarEvolutionExpander.cpp
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/Transforms/LoopUnroll/high-cost-trip-count-computation.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15559.43507.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151223/ce8073a0/attachment.bin>
More information about the llvm-commits
mailing list