[all-commits] [llvm/llvm-project] 2a6eae: [VPlan] Compute VPDominatorTree upfront, pass to p...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jun 10 11:18:56 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a6eae60aca0fbf27a151b6f7f44971572cf07ae
      https://github.com/llvm/llvm-project/commit/2a6eae60aca0fbf27a151b6f7f44971572cf07ae
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/lib/Transforms/Vectorize/VPlanDominatorTree.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h

  Log Message:
  -----------
  [VPlan] Compute VPDominatorTree upfront, pass to passes (NFC) (#203058)

createHeaderPhiRecipes and replaceSymbolicStrides both run on the
initial plain-CFG VPlan0 before loop regions are created, and each
recomputed its own VPDominatorTree internally. Since the block-level CFG
is unchanged between them, compute the dominator tree once in the caller
and pass it in by const reference, avoiding a redundant recalculation.



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