[PATCH] D15995: [LTO] Add a run of LoopUnroll

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 05:43:02 PST 2016


jmolloy added a comment.

Hi Mehdi,

> Note: it is inserted before LoopInterchangePass in the regular pipeline?


In the regular pipeline there are many runs of loop unrolling. This extra unroll will only unroll loops completely - it'll never do partial unrolling. So the ideal place to do this is when loops are most countable and when trivial loops have been deleted. That's why I put this after LoopDeletion.

I agree that a cleanup Unroll after Vectorize seems a good idea. I'll add that.

James


Repository:
  rL LLVM

http://reviews.llvm.org/D15995





More information about the llvm-commits mailing list