]> granicus.if.org Git - llvm/commit
[LV] Move interleaved access helper functions to VectorUtils (NFC)
authorMatthew Simpson <mssimpso@codeaurora.org>
Wed, 1 Feb 2017 17:45:46 +0000 (17:45 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Wed, 1 Feb 2017 17:45:46 +0000 (17:45 +0000)
commitaa96bc9c68c6f61ff514b6a828cdb53136b4184c
tree3bb3ae6a5e0414fda53c1e2e0829b0a0341df74d
parent460d4d4768daf66ac615efd9b7f532a2981efaf2
[LV] Move interleaved access helper functions to VectorUtils (NFC)

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.

Differential Revision: https://reviews.llvm.org/D29398

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293788 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/VectorUtils.h
lib/Analysis/VectorUtils.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp