[llvm] [VPlan] Add FinalIVValue VPInstruction. (PR #175651)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 01:19:15 PST 2026
================
@@ -881,6 +881,7 @@ static void legalizeAndOptimizeInductions(VPlan &Plan) {
/// return null.
static VPWidenInductionRecipe *
getOptimizableIVOf(VPValue *VPV, PredicatedScalarEvolution &PSE) {
+ match(VPV, m_FinalIVValue(m_VPValue(VPV), m_VPValue()));
----------------
lukel97 wrote:
Is there a reason why we don't just match the wide IV in optimizeLatchExitInductionUser? And does optimizeEarlyExitInductionUser need updated too
https://github.com/llvm/llvm-project/pull/175651
More information about the llvm-commits
mailing list