[llvm] [VPlan] Use scalar VPPhi instead of VPWidenPHIRecipe in createPlainCFG. (PR #150847)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 12:08:28 PDT 2025
================
@@ -63,17 +63,20 @@ bool VPlanTransforms::tryToConvertVPInstructionsToVPRecipes(
Instruction *Inst = cast<Instruction>(VPV->getUnderlyingValue());
VPRecipeBase *NewRecipe = nullptr;
- if (auto *VPPhi = dyn_cast<VPWidenPHIRecipe>(&Ingredient)) {
- auto *Phi = cast<PHINode>(VPPhi->getUnderlyingValue());
+ if (auto *PhiR = dyn_cast<VPPhi>(&Ingredient)) {
----------------
fhahn wrote:
Yep, will do separately, thanks
https://github.com/llvm/llvm-project/pull/150847
More information about the llvm-commits
mailing list