[all-commits] [llvm/llvm-project] 08dfbc: [VPlan] Handle VPCurrentIterationPHI in both plain...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jun 11 11:35:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08dfbc9c0704662cf36190a1f2275eab04d0b14a
      https://github.com/llvm/llvm-project/commit/08dfbc9c0704662cf36190a1f2275eab04d0b14a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
    M llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-after-all.ll

  Log Message:
  -----------
  [VPlan] Handle VPCurrentIterationPHI in both plain and HCFG plans. (#203082)

In plain CFG plans, VPCurrentIterationPHI must come second (first is phi
for canonical IV), and first in the region form. Adjust verifier
accordingly.

This allows using RUN_VPLAN_PASS for dissolveLoopRegions,
expandBranchOnTwoConds and convertToVariableLengthStep.

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



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