diff options
author | Florian Hahn <flo@fhahn.com> | 2022-04-19 13:06:39 +0200 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-04-19 13:06:39 +0200 |
commit | a65f2730d291e83f4fa39d3cb104b36c86f36e73 (patch) | |
tree | 9357bb6bd123782376b4a262bc3cfd4be4056072 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 50af82701c169e3ca2cf31a89fe7927e0ecb9b35 (diff) | |
download | llvm-a65f2730d291e83f4fa39d3cb104b36c86f36e73.zip llvm-a65f2730d291e83f4fa39d3cb104b36c86f36e73.tar.gz llvm-a65f2730d291e83f4fa39d3cb104b36c86f36e73.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions