diff options
author | Florian Hahn <flo@fhahn.com> | 2021-12-10 13:56:43 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-12-10 13:57:03 +0000 |
commit | 505ad03c7d29c0937d46dc24b13b2e9ea2a6476a (patch) | |
tree | 6f41191c4023d74c51a18844ec7d2f0c253c708f /llvm/lib/Support/DeltaAlgorithm.cpp | |
parent | 2586c23bae04c4d898c3d544ab51d2846a930930 (diff) | |
download | llvm-505ad03c7d29c0937d46dc24b13b2e9ea2a6476a.zip llvm-505ad03c7d29c0937d46dc24b13b2e9ea2a6476a.tar.gz llvm-505ad03c7d29c0937d46dc24b13b2e9ea2a6476a.tar.bz2 |
[LV] Remove redundant IV casts using VPlan (NFCI).
This patch simplifies handling of redundant induction casts, by
removing dead cast instructions after initial VPlan construction.
This has the following benefits:
1. fixes a crash
(see @test_optimized_cast_induction_feeding_first_order_recurrence)
2. Simplifies VPWidenIntOrFpInduction to a single-def recipes
3. Retires recordVectorLoopValueForInductionCast.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D115112
Diffstat (limited to 'llvm/lib/Support/DeltaAlgorithm.cpp')
0 files changed, 0 insertions, 0 deletions