[llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 06:55:27 PDT 2025


================
@@ -2063,17 +2066,19 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe,
 /// scalar value.
 class VPPartialReductionRecipe : public VPSingleDefRecipe {
   unsigned Opcode;
+  unsigned VFScaleFactor;
----------------
fhahn wrote:

wuld be good to add a comment here

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


More information about the llvm-commits mailing list