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

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 08:25:30 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:

I think it should be possible to remove this change from this PR so I'll give that a go.

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


More information about the llvm-commits mailing list