Skip to content

[VPlan] Add VPPhiAccessors to provide interface for phi recipes (NFC) #138472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

fhahn
Copy link
Contributor

@fhahn fhahn commented May 4, 2025

Add a VPPhiAccessors class to provide interfaces to access incoming
values and blocks, with corresponding iterators.

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 #124838.

Depends on #124838.

@fhahn fhahn requested review from rengolin, ayalz and aniragil May 4, 2025 21:02
fhahn added a commit that referenced this pull request May 15, 2025
…24838)

Update the verifier to verify dominance for incoming values for phi-like
recipes. The defining recipe must dominate the incoming block for the
incoming value.

Builds on top of #138472 to
retrieve incoming values & corresponding blocks for phi-like recipes.

PR: #124838
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request May 15, 2025
…ecipes. (#124838)

Update the verifier to verify dominance for incoming values for phi-like
recipes. The defining recipe must dominate the incoming block for the
incoming value.

Builds on top of llvm/llvm-project#138472 to
retrieve incoming values & corresponding blocks for phi-like recipes.

PR: llvm/llvm-project#124838
TIFitis pushed a commit to TIFitis/llvm-project that referenced this pull request May 19, 2025
…vm#124838)

Update the verifier to verify dominance for incoming values for phi-like
recipes. The defining recipe must dominate the incoming block for the
incoming value.

Builds on top of llvm#138472 to
retrieve incoming values & corresponding blocks for phi-like recipes.

PR: llvm#124838
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant