[PATCH] D109368: [LV] Don't vectorize if we can prove RT + vector cost >= scalar cost.

Evgeniy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 23:58:01 PDT 2021


ebrevnov added a comment.

In D109368#3028466 <https://reviews.llvm.org/D109368#3028466>, @fhahn wrote:

> That would be good, but unfortunately I think the epilogue vectorizer instantiation only has access to an ElementCount for now :( Can the threaded through as follow-up

There is no cost associated with runtime checks for epilogue vectorization. Thus we should simply initialize 'MinProfitableTripCount' with 'unset' value in Epilogue Vectorizer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109368/new/

https://reviews.llvm.org/D109368



More information about the llvm-commits mailing list