[llvm] [LV] Create in-loop sub reductions (PR #147026)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 7 09:47:52 PDT 2025


================
@@ -22344,6 +22344,7 @@ class HorizontalReduction {
       return Builder.CreateBinOp((Instruction::BinaryOps)RdxOpcode, LHS, RHS,
                                  Name);
     }
+    case RecurKind::Sub:
----------------
SamTebbs33 wrote:

I agree that it suggested sub is supported when it really isn't. Fixed now, thanks!

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


More information about the llvm-commits mailing list