[PATCH] D154261: [LV] Consider if scalar epilogue is required in getMaximizedVFForTarget.

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 2 08:38:41 PDT 2023


Ayal added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/X86/pr56319-vector-exit-cond-optimization-epilogue-vectorization.ll:9
 ; group requires to execute at least one scalar iteration, meaning the last
 ; vector iteration of the epilogue vector loop cannot be executed.
 define void @pr56319(ptr noalias %src, ptr noalias %dst) {
----------------
Comment above deserves updating? It refers to skipping over the main loop vectorized to VF=32 and jumping to the epilog loop vectorized to VF=8 (with original trip count of 32 and requires scalar epilog), whereas now the main loop is vectorized to VF=8 and the epilog loop is not vectorized at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154261



More information about the llvm-commits mailing list