[LV] Use onlyFirstLaneDemanded when widening pointer phis (NFCI).
authorFlorian Hahn <flo@fhahn.com>
Tue, 1 Feb 2022 09:50:47 +0000 (09:50 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 1 Feb 2022 09:50:47 +0000 (09:50 +0000)
commit7fe4fa9a0a9b710b931887a9484ae09fb6323ca9
tree731e48d2477d4f02ba91058310bab23c126b7344
parentdaa80339dfcb2a8cfea412cf918cbfae0c279fa0
[LV] Use onlyFirstLaneDemanded when widening pointer phis (NFCI).

This removes another instance of recipe execution still relying on
the cost model.

Depends on D116554.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D116656
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp