[all-commits] [llvm/llvm-project] 7cc0be: [LV] Skip VFs < iterations remaining for epilogue ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jul 7 12:34:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cc0be01a0068946ea3613dc2cb45c81b0f45860
      https://github.com/llvm/llvm-project/commit/7cc0be01a0068946ea3613dc2cb45c81b0f45860
  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 less 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