We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45042a4 commit 6c169e0Copy full SHA for 6c169e0
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
@@ -73,9 +73,7 @@ bool VPlanVerifier::verifyPhiRecipes(const VPBasicBlock *VPBB) {
73
auto RecipeI = VPBB->begin();
74
auto End = VPBB->end();
75
unsigned NumActiveLaneMaskPhiRecipes = 0;
76
- const VPRegionBlock *ParentR = VPBB->getParent();
77
- bool IsHeaderVPBB = ParentR && !ParentR->isReplicator() &&
78
- ParentR->getEntryBasicBlock() == VPBB;
+ bool IsHeaderVPBB = VPBlockUtils::isHeader(VPBB, VPDT);
79
while (RecipeI != End && RecipeI->isPhi()) {
80
if (isa<VPActiveLaneMaskPHIRecipe>(RecipeI))
81
NumActiveLaneMaskPhiRecipes++;
0 commit comments