llvm-project
cabf6433 - [VPlan] EVL transform VPVectorEndPointerRecipe alongisde load/store recipes. NFC (#152542)

Commit
255 days ago
[VPlan] EVL transform VPVectorEndPointerRecipe alongisde load/store recipes. NFC (#152542) This is the first step in untangling the variable step transform and header mask optimizations as described in #152541. Currently we replace all VF users globally in the plan, including VPVectorEndPointerRecipe. However this leaves reversed loads and stores in an incorrect state until they are adjusted in optimizeMaskToEVL. This moves the VPVectorEndPointerRecipe transform so that it is updated in lockstep with the actual load/store recipe. One thought that crossed my mind was that VPInterleaveRecipe could also use VPVectorEndPointerRecipe, in which case we would have also been computing the wrong address because we don't transform it to an EVL recipe which accounts for the reversed address.
Author
Parents
Loading