[all-commits] [llvm/llvm-project] 70c1c8: [VPlan] Create SCEV expansion for epilogue check f...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Oct 7 13:16:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70c1c8f8007746040e256186d1e23b65d7590e00
      https://github.com/llvm/llvm-project/commit/70c1c8f8007746040e256186d1e23b65d7590e00
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-10-07 (Tue, 07 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    A llvm/test/Transforms/LoopVectorize/epilog-vectorization-scev-expansion.ll

  Log Message:
  -----------
  [VPlan] Create SCEV expansion for epilogue check first.

VPExpandSCEVRecipes must be at the beginning of the entry block.
addMinimumEpilogueIterationCheck currently creates VPInstructions to
compute the remaining iterations before potentially creating
VPExpandSCEVRecipes.

Fix this by first creating any SCEV expansions if needed.

Fixes https://github.com/llvm/llvm-project/issues/162128.



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