This is an archive of the discontinued LLVM Phabricator instance.

[LV] Move interleaved access helper functions to VectorUtils (NFC)
ClosedPublic

Authored by mssimpso on Feb 1 2017, 8:52 AM.

Details

Summary

This patch moves some helper functions related to interleaved access vectorization out of LoopVectorize.cpp and into VectorUtils.cpp. We would like to use these functions in a follow-on patch that improves interleaved load and store lowering in (ARM/AArch64)ISelLowering.cpp. One of the functions was already duplicated there and has been removed.

Diff Detail

Repository
rL LLVM

Event Timeline

mssimpso created this revision.Feb 1 2017, 8:52 AM
rengolin accepted this revision.Feb 1 2017, 9:20 AM
rengolin added a subscriber: rengolin.

Makes total sense to me. LGTM. Thanks!

This revision is now accepted and ready to land.Feb 1 2017, 9:20 AM
mkuper accepted this revision.Feb 1 2017, 9:39 AM

LGTM too

Thanks Renato and Michael!

This revision was automatically updated to reflect the committed changes.