[llvm-branch-commits] [llvm] [LoopVectorizer] Bundle partial reductions inside VPMulAccumulateReductionRecipe (PR #136173)

Sam Tebbs via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 28 08:46:38 PDT 2025


================
@@ -219,6 +219,8 @@ class TargetTransformInfo {
   /// Get the kind of extension that an instruction represents.
   static PartialReductionExtendKind
   getPartialReductionExtendKind(Instruction *I);
+  static PartialReductionExtendKind
+  getPartialReductionExtendKind(Instruction::CastOps ExtOpcode);
----------------
SamTebbs33 wrote:

Using the `CastOps` one in the other is a good idea. Done.

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


More information about the llvm-branch-commits mailing list