[all-commits] [llvm/llvm-project] 6e2051: [VPlan] Add VPPhiAccessors to provide interface fo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun May 4 05:48:03 PDT 2025


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

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

  Log Message:
  -----------
  [VPlan] Add VPPhiAccessors to provide interface for phi recipes (NFC) (#129388)

Add a VPPhiAccessors class to provide interfaces to access incoming
values and blocks.

The first user is VPWidenPhiRecipe, with the other phi-like recipes
following soon.

This will also be used to verify def-use chains where users are phi-like
recipes, simplifying https://github.com/llvm/llvm-project/pull/124838.

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



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