[PATCH] D113003: [LoopVectorize] Enable tail folding for scalable vectors

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 05:36:15 PDT 2021


SjoerdMeijer added a comment.

Since we are (also) talking about profitability of the transform:

> For now it's best not to enable tail-folding with scalable vectors for low trip counts or when optimising for code size, since there has been no analysis on whether this is worth it.

I was expecting we would need to implement target hook `preferPredicateOverEpilogue` for AArch64/SVE that controls this, and add some of this logic there?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113003



More information about the llvm-commits mailing list