This is an archive of the discontinued LLVM Phabricator instance.

[LV] Move pointer inspection from ILV to recipe (NFCI)
AbandonedPublic

Authored by gilr on Nov 10 2019, 9:36 AM.

Details

Summary

Record the pointer argument of the memory instruction being vectorized and its
properties in VPWidenMemoryInstructionRecipe, delegating both to ILV on VPlan
execution instead of letting ILV rely on scalar IR's def-use relations. This
reduces ingredient DU usage by ILV as a step towards full VPlan-based def-use
relations.

Diff Detail

Event Timeline

gilr created this revision.Nov 10 2019, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2019, 9:36 AM
gilr added a comment.Nov 10 2019, 9:43 AM

Originally part of D69067, to be reviewed separately per Ayal's comment.

gilr abandoned this revision.Nov 29 2019, 11:13 PM

A more comprehensive solution for breaking this ingredient def-use dependence is implemented in D70865.