[PATCH] D44523: Change calculation of MaxVectorSize

Hideki Saito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 15 12:45:25 PDT 2018


hsaito added a comment.

In https://reviews.llvm.org/D44523#1039290, @kparzysz wrote:

> Would it be possible to add a TTI callback that forces the minimum VF?


I think so. Something along the lines of TTI.getMinimumVF(ElementTy), I guess. For most arch/type, that can return 2 (or 1).


Repository:
  rL LLVM

https://reviews.llvm.org/D44523





More information about the llvm-commits mailing list