[llvm] [LV] Vectorize Epilogues for loops with small VF but high IC (PR #108190)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 13:53:14 PDT 2024


https://github.com/davemgreen commented:

Hi - A high level comment - the MaxTripCount in isMoreProfitable is expected to be _the_ constant trip count (as there is generally expected to be a single trip count if it is constant).

Should the epilog vectorization cost be based on the maximum epilog trip count (VF*IC - 1) or the average trip count?

https://github.com/llvm/llvm-project/pull/108190


More information about the llvm-commits mailing list