[PATCH] D25963: [LoopUnroll] Implement profile-based loop peeling
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 12:39:01 PDT 2016
On Wed, Oct 26, 2016 at 10:08 AM, Gerolf Hoflehner <ghoflehner at apple.com>
> Gerolf added a comment.
> Could you provide more background on this idea? What is your motivational
> use case? When the trip count is low why optimize?
Low trip count loop can be hot too.
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits