[PATCH] D25682: [LoopUnroll] Keep the loop test only on the first iteration of max-or-zero loops

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 10:49:35 PDT 2016


haicheng added a comment.

The loop unrolling part looks good to me, too.  I am not an expert of SCEV.



================
Comment at: include/llvm/Transforms/Utils/UnrollLoop.h:35
                 bool AllowRuntime, bool AllowExpensiveTripCount,
-                bool UseUpperBound, unsigned TripMultiple, LoopInfo *LI,
-                ScalarEvolution *SE, DominatorTree *DT, AssumptionCache *AC,
----------------
Thank you for catching my mistake.


Repository:
  rL LLVM

https://reviews.llvm.org/D25682





More information about the llvm-commits mailing list