[VectorUtils] Skip interleave members with diff type and alloca sizes.
authorFlorian Hahn <flo@fhahn.com>
Sun, 13 Nov 2022 22:05:37 +0000 (22:05 +0000)
committerTom Stellard <tstellar@redhat.com>
Tue, 15 Nov 2022 23:45:14 +0000 (15:45 -0800)
commita399896637584c86acd61afca5bbfe8ed76a7c7d
treeda2ab39f09540e4c3de73ee5f105661dc916a6de
parentdc8f6ffc3bf297098a1dfd3fbce801afbe9f5238
[VectorUtils] Skip interleave members with diff type and alloca sizes.

Currently, codegen doesn't support cases where the type size doesn't
match the alloc size. Skip them for now.

Fixes #58722.

(cherry picked from commit 758699c39984296f20a4dac44c6892065601c4cd)
llvm/lib/Analysis/VectorUtils.cpp
llvm/test/Transforms/LoopVectorize/AArch64/interleave-allocsize-not-equal-typesize.ll [new file with mode: 0644]