[SLP]Fix incorrect shuffle results because of missing shuffle mask
authorAlexey Bataev <a.bataev@outlook.com>
Wed, 4 Jan 2023 16:32:25 +0000 (08:32 -0800)
committerAlexey Bataev <a.bataev@outlook.com>
Wed, 4 Jan 2023 21:10:40 +0000 (13:10 -0800)
commita1b18946f9af130a14655721653beb4510fde9be
tree0c9a777419a42e008c97920b40f1c19eeb7fac53
parent5c18ae3135d1ff4b9e554480da78bc93e35ef00a
[SLP]Fix incorrect shuffle results because of missing shuffle mask
analysis.

Missed the analysis of the shuffle mask when trying to analyze the
operands of the shuffle instruction during peeking through shuffle
instructions.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/peek-through-shuffle.ll