[llvm] [LV] Create in-loop sub reductions (PR #147026)
    Sam Tebbs via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul 29 05:31:25 PDT 2025
    
    
  
================
@@ -1201,6 +1209,7 @@ bool RecurrenceDescriptor::isFixedOrderRecurrence(PHINode *Phi, Loop *TheLoop,
 
 unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
   switch (Kind) {
+  case RecurKind::Sub:
----------------
SamTebbs33 wrote:
That's much better, thanks! Done.
https://github.com/llvm/llvm-project/pull/147026
    
    
More information about the llvm-commits
mailing list