[all-commits] [llvm/llvm-project] 14ec3f: [LV] Skip VFs > # iterations remaining for epilogu...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jul 7 13:44:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14ec3f4b06b5412367c7c1f3e4df14c6e3163edd
      https://github.com/llvm/llvm-project/commit/14ec3f4b06b5412367c7c1f3e4df14c6e3163edd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/X86/gather_scatter.ll
    M llvm/test/Transforms/LoopVectorize/X86/limit-vf-by-tripcount.ll
    M llvm/test/Transforms/LoopVectorize/X86/pr42674.ll

  Log Message:
  -----------
  [LV] Skip VFs > # iterations remaining for epilogue vectorization.

If a candidate VF for epilogue vectorization is greater than the number of
remaining iterations, the epilogue loop would be dead. Skip such factors.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D154264




More information about the All-commits mailing list