[all-commits] [llvm/llvm-project] e80e7e: [VPlan] Use scalar VPPhi instead of VPWidenPHIReci...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Aug 6 06:43:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e80e7e717e8c2efe2c1712dc3bb4f25ba7ed11f6
      https://github.com/llvm/llvm-project/commit/e80e7e717e8c2efe2c1712dc3bb4f25ba7ed11f6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-08-06 (Wed, 06 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/outer-loop-vec-phi-predecessor-order.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-outer-loop.ll
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp

  Log Message:
  -----------
  [VPlan] Use scalar VPPhi instead of VPWidenPHIRecipe in createPlainCFG. (#150847)

The initial VPlan closely reflects the original scalar loop, so unsing
VPWidenPHIRecipe here is premature. Widened phi recipes should only be
introduced together with other widened recipes.

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



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