[VPlan] VPInterleaveRecipe only requires the first lane of the address.
authorFlorian Hahn <flo@fhahn.com>
Thu, 17 Mar 2022 11:56:43 +0000 (11:56 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 17 Mar 2022 11:56:43 +0000 (11:56 +0000)
commita6e70e4056dff962ec634c5bd4f2f4105a0bef71
tree5bf98ac9e2f5b99e36782d2069f856f7897eba98
parentcd18a6a5e2ba6cdd46d302d181a9251caee153f8
[VPlan] VPInterleaveRecipe only requires the first lane of the address.

VPInterleaveRecipe only uses the first lane of the address. Add
onlyFirstLaneUsed implementation. This is needed for a follow-up patch.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D121612
llvm/lib/Transforms/Vectorize/VPlan.h