[PATCH] D25963: [LoopUnroll] Implement profile-based loop peeling

Gerolf Hoflehner via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 10:08:25 PDT 2016


Gerolf added a comment.

Hi,

Could you provide more background on this idea?  What is your motivational use case? When the trip count is low why optimize? If the profile is wrong and it actually is a hot loop for a regular/different input set peeling could hurt. There are also side effects on code size, register pressure etc. that could hurt performance.

Thanks
Gerolf


https://reviews.llvm.org/D25963





More information about the llvm-commits mailing list