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

John Brawn via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 07:13:06 PDT 2016


john.brawn updated this revision to Diff 75295.
john.brawn added a comment.

Pass the MaxOrZero information through to loop unrolling using a separate function instead of via a pointer argument.


Repository:
  rL LLVM

https://reviews.llvm.org/D25682

Files:
  include/llvm/Analysis/ScalarEvolution.h
  include/llvm/Transforms/Utils/UnrollLoop.h
  lib/Analysis/ScalarEvolution.cpp
  lib/Transforms/Scalar/LoopUnrollPass.cpp
  lib/Transforms/Utils/LoopUnroll.cpp
  test/Analysis/ScalarEvolution/trip-count13.ll
  test/Analysis/ScalarEvolution/trip-count14.ll
  test/Transforms/LoopUnroll/full-unroll-keep-first-exit.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25682.75295.patch
Type: text/x-patch
Size: 26971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161020/de22faba/attachment.bin>


More information about the llvm-commits mailing list