[all-commits] [llvm/llvm-project] 6fe60b: [SLP] Exit early if MaxVF < MinVF (NFCI). (#83283)

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 1 11:43:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fe60bd89fc72398795de6ee2a6120b8af44a977
      https://github.com/llvm/llvm-project/commit/6fe60bd89fc72398795de6ee2a6120b8af44a977
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

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

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

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).

PR: https://github.com/llvm/llvm-project/pull/83283



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