[all-commits] [llvm/llvm-project] a65f27: [VPlan] Expand induction step in VPlan pre-header.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Apr 19 04:07:07 PDT 2022
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-04-19 (Tue, 19 Apr 2022)
[VPlan] Expand induction step in VPlan pre-header.
This patch moves SCEV expansion of steps used by
VPWidenIntOrFpInductionRecipes to the pre-header using
VPExpandSCEVRecipe. This ensures that those steps are expanded while the
CFG is in a valid state. Previously, SCEV expansion may happen during
vector body code-generation, during which the CFG may be invalid,
causing issues with SCEV expansion.
Depends on D122095.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D122096
More information about the All-commits