[PATCH] D34532: [LoopUnroll] Fix bug in computeUnrollCount causing it to not honor MaxCount

Geoff Berry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 06:35:29 PDT 2017


gberry added a comment.

In https://reviews.llvm.org/D34532#791464, @anna wrote:

> LGTM.
>  Just clarifying: this just honours the user defined max count right (if user hasn't defined the value, it would be UINT_MAX).


That, or the value set by the target hook getUnrollingPreferences(), which is how I originally ran into the bug, when implementing https://reviews.llvm.org/D34533


https://reviews.llvm.org/D34532





More information about the llvm-commits mailing list