[all-commits] [llvm/llvm-project] d06d43: [VPlan] Add printPhiOperands to VPPhiAccessors, us...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu May 8 12:57:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d06d43a9e8cb5db84e6ee3557b6244e14a291def
      https://github.com/llvm/llvm-project/commit/d06d43a9e8cb5db84e6ee3557b6244e14a291def
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/vplan-printing-outer-loop.ll
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp

  Log Message:
  -----------
  [VPlan] Add printPhiOperands to VPPhiAccessors, use for wide phis.

(NFC modulo debug output changes)

Add generic helper to print phi operands (incoming values) together with
their incoming blocks.

As more and more transforms are added, keeping the incoming blocks of
phis becomes more important. Print incoming blocks via VPPhiAcessors, to
make debugging easier.



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