[llvm] [LV] Add support for partial reductions without a binary op (PR #133922)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 4 04:55:11 PDT 2025


================
@@ -1030,6 +1030,474 @@ for.body:                                         ; preds = %for.body.preheader,
   br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !loop !1
 }
 
+
+; TODO: We probably shouldn't be vectorising this loop with a
+; llvm.experimental.vector.partial.reduce.add.v16i32.v16i32
----------------
david-arm wrote:

Sorry this TODO was based off the first commit that adds the tests. I'll remove it now.

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


More information about the llvm-commits mailing list