[SLPVectorizer][SVE] Skip scalable-vector instructions before vectorizeSimpleInstruct...
authorHuihui Zhang <huihuiz@quicinc.com>
Tue, 15 Sep 2020 20:09:56 +0000 (13:09 -0700)
committerHuihui Zhang <huihuiz@quicinc.com>
Tue, 15 Sep 2020 20:10:15 +0000 (13:10 -0700)
commit3b7f5166bd11fc6cbf96597d26753e8c3fc0e6ab
treefffadd8cd79b116e5c276618ffbf9fb9724618e5
parent00ba1a3de7faad80f7bb75d07a1a5da09a009895
[SLPVectorizer][SVE] Skip scalable-vector instructions before vectorizeSimpleInstructions.

For scalable type, the aggregated size is unknown at compile-time.
Skip instructions with scalable type to ensure the list of instructions
for vectorizeSimpleInstructions does not contains any scalable-vector instructions.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D87550
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/insertelement.ll [new file with mode: 0644]