[llvm] [VPlan] Compute cost of more replicating loads/stores in ::computeCost. (PR #160053)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 23 02:33:19 PDT 2025


================
@@ -3075,6 +3075,63 @@ bool VPReplicateRecipe::shouldPack() const {
   });
 }
 
+/// Returns true if \p Ptr is a pointer computation for which the legacy cost
+/// model computes a SCEV expression when comping the address cost.
----------------
david-arm wrote:

nit: Should this be `when computing the address cost.`?

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


More information about the llvm-commits mailing list