[llvm] [LoopVectorizer] Add support for partial reductions (PR #92418)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 24 09:07:09 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) {
----------------
fhahn wrote:
might be looking at the wrong version, but it looks like the code is unchanged?
https://github.com/llvm/llvm-project/pull/92418
More information about the llvm-commits
mailing list