[LV] Move all VPlan transforms after initial VPlan construction.
authorFlorian Hahn <flo@fhahn.com>
Tue, 18 Jul 2023 09:52:08 +0000 (10:52 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 18 Jul 2023 09:53:30 +0000 (10:53 +0100)
commit68746a8cea7820234ce79eee60b02f89c89841a3
tree04a97beee7e40482b9e1cda6d3d4494b5c8154e9
parent34f73967aecfebcc0ab62d18af51ae57cfb5c33c
[LV] Move all VPlan transforms after initial VPlan construction.

Reorder VPlan transforms slightly so they are all grouped together,
after disabling Value -> VPValue lookup. In terms of codegen impact,
this should be NFC modulo a small number of instruction reorderings.

Preparation to split up tryToBuildVPlanWithVPRecipes in a follow-up.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D154640
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll