[all-commits] [llvm/llvm-project] 3eacfa: [SLP] Exit early if MaxVF < MinVF (NFCI).

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Feb 28 08:08:02 PST 2024


  Branch: refs/heads/users/fhahn/slp-early-exit
  Home:   https://github.com/llvm/llvm-project
  Commit: 3eacfa64a35f0aed09180c00cbb5272c4a4c9ca0
      https://github.com/llvm/llvm-project/commit/3eacfa64a35f0aed09180c00cbb5272c4a4c9ca0
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Exit early if MaxVF < MinVF (NFCI).

Exit early if MaxVF < MinVF. In that case, the loop body below will
never get entered. Note that this adjusts the condition from MaxVF <=
MinVF. If MaxVF == MinVF, vectorization may still be feasible (and the
loop below gets entered).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list