[llvm-branch-commits] [llvm] [LV] Reduce register usage for scaled reductions (PR #133090)
David Sherwood via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 7 08:34:28 PDT 2025
================
@@ -2033,6 +2033,8 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe,
/// Generate the phi/select nodes.
void execute(VPTransformState &State) override;
+ unsigned getVFScaleFactor() const { return VFScaleFactor; }
----------------
david-arm wrote:
Perhaps good to have comments on both new functions added?
https://github.com/llvm/llvm-project/pull/133090
More information about the llvm-branch-commits
mailing list