[llvm] [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable (PR #67812)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 09:40:12 PST 2024
================
@@ -900,6 +993,11 @@ bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop,
<< *Phi << "\n");
return true;
}
+ if (AddReductionVar(Phi, RecurKind::IFindLastIV, TheLoop, FMF, RedDes, DB, AC,
----------------
Mel-Chen wrote:
It looks like https://github.com/llvm/llvm-project/pull/118393 is attempting to improve this issue.
https://github.com/llvm/llvm-project/pull/67812
More information about the llvm-commits
mailing list