[VPlan] Replace invariance fields from VPWidenGEPRecipe.
authorFlorian Hahn <flo@fhahn.com>
Thu, 9 Mar 2023 16:52:22 +0000 (17:52 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 9 Mar 2023 16:52:22 +0000 (17:52 +0100)
commita8adb38a96d31a8845152acf1ead21f3d27e3c41
tree71d77f22eb6d45cbb9e0800e0b5c9bd11a153e33
parentc24d44fd869a9f5d041dd15cda6c5ba8823539cd
[VPlan] Replace invariance fields from VPWidenGEPRecipe.

There is no need to store information about invariance in the recipe.
Replace the fields with checks of the operands using
isDefinedOutsideVectorRegions.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D144487
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp