[all-commits] [llvm/llvm-project] c45045: [VPlan] Keep induction recipes in header.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Oct 28 10:22:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c45045bfd04af92044979243a6d7d8e8a1b47133
https://github.com/llvm/llvm-project/commit/c45045bfd04af92044979243a6d7d8e8a1b47133
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-10-28 (Thu, 28 Oct 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/pr46525-expander-insertpoint.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
M llvm/test/Transforms/LoopVectorize/runtime-check-needed-but-empty.ll
Log Message:
-----------
[VPlan] Keep induction recipes in header.
This patch updates recipe creation to ensure all
VPWidenIntOrFpInductionRecipes are in the header block. At the moment,
new induction recipes can be created in different blocks when trying to
optimize casts and induction variables.
Having all induction recipes in the header makes it easier to
analyze/transform them in VPlan.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D111300
More information about the All-commits
mailing list