[all-commits] [llvm/llvm-project] 9c3a75: [SLP]Fix a crash when preparing a mask for externa...
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Mon May 9 08:00:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c3a75eabf577f0e0e372be95ec4861600a5acdb
https://github.com/llvm/llvm-project/commit/9c3a75eabf577f0e0e372be95ec4861600a5acdb
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/buildvector-shuffle.ll
Log Message:
-----------
[SLP]Fix a crash when preparing a mask for external scalars.
Need to use actual index instead of the tree entry position, since the
insert index may be different than 0. It mean, that we vectorized part
of the buildvector starting from not initial insertelement instruction
beause of some reason.
More information about the All-commits
mailing list