[llvm] [VPlan] Fix header phi VPInstruction verification. NFC (PR #151472)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 01:45:07 PDT 2025
================
@@ -80,8 +80,8 @@ bool VPlanVerifier::verifyPhiRecipes(const VPBasicBlock *VPBB) {
NumActiveLaneMaskPhiRecipes++;
if (IsHeaderVPBB && !isa<VPHeaderPHIRecipe, VPWidenPHIRecipe>(*RecipeI) &&
----------------
fhahn wrote:
```suggestion
if (IsHeaderVPBB && !isa<VPHeaderPHIRecipe, VPWidenPHIRecipe, VPPhi>(*RecipeI) &&
```
This can just use VPPhi I think.
https://github.com/llvm/llvm-project/pull/151472
More information about the llvm-commits
mailing list