[all-commits] [llvm/llvm-project] f2e62c: [VPlan] Add VPPhi subclass for VPInstruction with ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat May 10 03:08:21 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [VPlan] Add VPPhi subclass for VPInstruction with PHI opcodes.(NFC) (#139151)

Similarly to VPInstructionWithType and VPIRPhi, add VPPhi as a subclass
for VPInstruction. This allows implementing the VPPhiAccessors trait,
making available helpers for generic printing of incoming values /
blocks and accessors for incoming blocks and values.

It will also allow properly verifying def-uses for values used by
VPInstructions with PHI opcodes via
https://github.com/llvm/llvm-project/pull/124838.

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



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