[all-commits] [llvm/llvm-project] 7d0308: [VPlan] Check FOR/FMinMaxNum epilogue restrictions...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Apr 29 04:28:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d0308c538c8f732f3293aea6694c7c3018ddc8c
      https://github.com/llvm/llvm-project/commit/7d0308c538c8f732f3293aea6694c7c3018ddc8c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/epilog-vectorization-fixed-order-recurrences.ll

  Log Message:
  -----------
  [VPlan] Check FOR/FMinMaxNum epilogue restrictions in VPlan. (#191815)

Move checking of FOR/FMinMaxNum restriction checks for epilogue
vectorization to hasUnsupportedHeaderPhiRecipe and perform checks
directly on VPlan.

This unifies the checking code and enables epilogue vectorization of
VPlans with dead FORs, although the latter should be cleaned up by
scalar optimizations earlier in practice.

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



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