[PATCH] D44495: [CleanUp] Remove NumInstructions field from LoopVectorizer's RegisterUsage struct.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 14 15:19:33 PDT 2018


rengolin accepted this revision.
rengolin added a comment.
This revision is now accepted and ready to land.

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!


https://reviews.llvm.org/D44495





More information about the llvm-commits mailing list