[LV] Clean up vectorizeInterleaveGroup (NFCI)
authorGil Rapaport <gil.rapaport@intel.com>
Mon, 13 Apr 2020 05:53:42 +0000 (08:53 +0300)
committerGil Rapaport <gil.rapaport@intel.com>
Mon, 13 Apr 2020 10:15:06 +0000 (13:15 +0300)
commit41ed5d856c1b609ece9b1f86f8e631f96e648be2
tree1f454ee300e43778fece6ae027b3af0cc66747bc
parent813f438baaa9638529023b2218875e01ea037735
[LV] Clean up vectorizeInterleaveGroup (NFCI)

Pass from the calling recipe the interleave group itself instead of passing the
group's insertion position and having the function query CM for its interleave
group and making sure that given instruction is the insertion point of.

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