[llvm] [VPlan] Optimize FindLast of (binop %IV, live-in) by sinking. (PR #183911)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 29 12:16:49 PDT 2026
================
@@ -5783,16 +5823,34 @@ void VPlanTransforms::optimizeFindIVReductions(VPlan &Plan,
BackedgeVal,
match_fn(m_VPInstruction<VPInstruction::ComputeReductionResult>())));
+ // If IV is an expression, create a new select that tracks the underlying
----------------
fhahn wrote:
updated thanks
https://github.com/llvm/llvm-project/pull/183911
More information about the llvm-commits
mailing list