[llvm] [LoopVectorizer] Add support for partial reductions (PR #92418)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 01:56:38 PDT 2024


================
@@ -7978,6 +7978,12 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
     return;
   }
   case Intrinsic::experimental_vector_partial_reduce_add: {
+
+    if(!TLI.shouldExpandPartialReductionIntrinsic(&I))) {
+      visitTargetIntrinsic(I, Intrinsic);
----------------
SamTebbs33 wrote:

That makes sense to me, I've removed it now and will fold it into a separate PR.

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


More information about the llvm-commits mailing list