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

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 06:16:08 PDT 2025


================
@@ -1201,6 +1209,7 @@ bool RecurrenceDescriptor::isFixedOrderRecurrence(PHINode *Phi, Loop *TheLoop,
 
 unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
   switch (Kind) {
+  case RecurKind::Sub:
----------------
sdesmalen-arm wrote:

Thanks!

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


More information about the llvm-commits mailing list