[PATCH] D44495: [CleanUp] Remove NumInstructions field from LoopVectorizer's RegisterUsage struct.
Matt Davis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 14 15:24:00 PDT 2018
mattd added a comment.
In https://reviews.llvm.org/D44495#1037956, @rengolin wrote:
> The original code was calculating the unroll factor by `NumInstructions` like:
>
> UF = std::min(UF, (32 / R.NumInstructions));
>
>
> which has been replaced a long time ago, so yeah, left overs. :)
>
> LGTM, thanks!
Great, thank you!
https://reviews.llvm.org/D44495
More information about the llvm-commits
mailing list