diff options
author | Florian Hahn <flo@fhahn.com> | 2022-03-29 20:27:59 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-03-29 20:27:59 +0100 |
commit | d1d3563278589b2e19077e6a81cd9455d0195577 (patch) | |
tree | 77aec89d9a711892e020f6fe4e1b41429ec9b3d1 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7f5c2f6a762416874cae494668e34dcc673fd4af (diff) | |
download | llvm-d1d3563278589b2e19077e6a81cd9455d0195577.zip llvm-d1d3563278589b2e19077e6a81cd9455d0195577.tar.gz llvm-d1d3563278589b2e19077e6a81cd9455d0195577.tar.bz2 |
[LV] Move code to place pointer induction increment to VPlan post-processing.
This patch moves the code to set the correct incoming block for the
backedge value to VPlan::execute.
When generating the phi node, the backedge value is temporarily added
using the pre-header as incoming block. The invalid phi node will be
fixed up during VPlan::execute after main VPlan code generation.
At the same time, the backedge value is also moved to the latch.
This change removes the requirement to create the latch block up-front
for VPWidenInductionPHIRecipe::execute, which in turn will enable
modeling the pre-header in VPlan.
Depends on D121617.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D121618
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions