[llvm] [VPlan] Compute cost for most opcodes in VPWidenRecipe (NFCI). (PR #98764)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 18 09:20:05 PDT 2024


================
@@ -860,9 +862,11 @@ class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock>,
   DebugLoc getDebugLoc() const { return DL; }
 
 protected:
-  /// Compute the cost of this recipe using the legacy cost model and the
-  /// underlying instructions.
-  InstructionCost computeCost(ElementCount VF, VPCostContext &Ctx) const;
+  /// Compute the cost of this recipe either using a recipe's specialized
----------------
ayalz wrote:

"either using" >> "using either"
"or using" >> "or"

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


More information about the llvm-commits mailing list