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

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 05:07:34 PDT 2024


================
@@ -117,13 +116,8 @@ class VPRecipeBuilder {
                                        VFRange &Range, VPBasicBlock *VPBB,
                                        VPlanPtr &Plan);
 
-  /// Set the recipe created for given ingredient. This operation is a no-op for
-  /// ingredients that were not marked using a nullptr entry in the map.
+  /// Set the recipe created for given ingredient.
   void setRecipe(Instruction *I, VPRecipeBase *R) {
----------------
ayalz wrote:

Worth asserting to avoid resetting an already set recipe?

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


More information about the llvm-commits mailing list