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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 14:48:37 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) {
----------------
fhahn wrote:

Added assert, thanks!

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


More information about the llvm-commits mailing list