[llvm] [LoopVectorizer] Add support for partial reductions (PR #92418)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 28 06:27:03 PST 2024
================
@@ -210,6 +211,17 @@ typedef TargetTransformInfo TTI;
/// for IR-level transformations.
class TargetTransformInfo {
public:
+ enum PartialReductionExtendKind { PR_None, PR_SignExtend, PR_ZeroExtend };
+
+ static PartialReductionExtendKind
+ getPartialReductionExtendKind(Instruction *I) {
----------------
SamTebbs33 wrote:
Moved, thanks.
https://github.com/llvm/llvm-project/pull/92418
More information about the llvm-commits
mailing list