[llvm] [LV] Create in-loop sub reductions (PR #147026)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 10:02:36 PDT 2025
================
@@ -627,7 +627,7 @@ for.end: ; preds = %for.body, %entry
ret float %result.0.lcssa
}
-; Sub we can create a reduction, but not inloop
+; Sub we can create a reduction inloop
----------------
sdesmalen-arm wrote:
nit: We can create an in-loop reduction for sub-reductions by negating the input.
https://github.com/llvm/llvm-project/pull/147026
More information about the llvm-commits
mailing list