[PATCH] D123865: [LoopPeel] Allow partial unrolling for profile-based peeling

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 11:02:30 PDT 2022


davidxl added a comment.

For loops with trip count between maxPeelCount and 2*maxPeelCount, this patch enables partial peeling of the loop for maxPeelCount iterations. This feels very aggressive and can be detrimental to performance: 1) increased icache footprint; 2) more pressure to BPU and 3) the back branch of the remaining loop may become less predictable.

What is the motivation case for such a change?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123865/new/

https://reviews.llvm.org/D123865



More information about the llvm-commits mailing list