[all-commits] [llvm/llvm-project] e664de: [SLP]Fix write-after-bounds.
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Wed Sep 21 08:01:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e664dea1821ab1277e62f0b4074fb02867636e6e
https://github.com/llvm/llvm-project/commit/e664dea1821ab1277e62f0b4074fb02867636e6e
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-09-21 (Wed, 21 Sep 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/buildvector-insert-mask-size.ll
Log Message:
-----------
[SLP]Fix write-after-bounds.
Mask might be larger than the NumElts-OffsetBeg, need to use actual
indices to avoid acces out of bounds.
More information about the All-commits
mailing list