[llvm] [VPlan] Verify and handle FOR legality during header phi creation (NFC). (PR #191298)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 00:22:17 PDT 2026


================
@@ -717,7 +717,205 @@ createWidenInductionRecipe(PHINode *Phi, VPPhi *PhiR, VPIRValue *Start,
   return WideIV;
 }
 
-void VPlanTransforms::createHeaderPhiRecipes(
+/// Try to sink users of \p FOR after \p Previous.  \returns true if sinking
----------------
Mel-Chen wrote:

```suggestion
/// Try to sink users of \p FOR after \p Previous. \returns true if sinking
```

https://github.com/llvm/llvm-project/pull/191298


More information about the llvm-commits mailing list