[llvm] [VPlan] Move recording of Inst->VPValue to VPRecipeBuilder (NFCI). (PR #84464)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 02:48:46 PDT 2024


================
@@ -54,7 +54,6 @@ void VPlanTransforms::VPInstructionsToVPRecipes(
               vputils::getOrCreateVPValueForSCEVExpr(*Plan, II->getStep(), SE);
           NewRecipe = new VPWidenIntOrFpInductionRecipe(Phi, Start, Step, *II);
         } else {
-          Plan->addVPValue(Phi, VPPhi);
----------------
ayalz wrote:

nit: now more appealing to swap and have an early continue.

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


More information about the llvm-commits mailing list