[llvm] [VPlan] Implement VPWidenLoad/StoreEVLRecipe::computeCost(). (PR #109644)

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 07:02:07 PDT 2024


================
@@ -2364,6 +2364,32 @@ void VPWidenLoadEVLRecipe::execute(VPTransformState &State) {
   State.set(this, Res, 0);
 }
 
+InstructionCost VPWidenLoadEVLRecipe::computeCost(ElementCount VF,
+                                                  VPCostContext &Ctx) const {
+  if (!Consecutive || IsMasked) {
+    return VPWidenMemoryRecipe::computeCost(VF, Ctx);
+  }
----------------
ElvisWang123 wrote:

Removed, thanks.

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


More information about the llvm-commits mailing list