[PATCH] D133891: [SLP]Improve isUndefVector function by adding insertelement analysis.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 08:01:31 PDT 2022
ABataev added a comment.
In D133891#3803891 <https://reviews.llvm.org/D133891#3803891>, @srj wrote:
> The line numbers in the ASAN trace are slightly different from this patch, but the culprit seems to be:
>
> SmallVector<int> InsertMask(NumElts, UndefMaskElem);
> copy(Mask, std::next(InsertMask.begin(), OffsetBeg)); <-- THIS LINE
>
> Not sure about the semantics here, but presumably InsertMask doesn't have the capacity for the copy and gets tromped on...
Must be fixed in e664dea1821ab1277e62f0b4074fb02867636e6e <https://reviews.llvm.org/rGe664dea1821ab1277e62f0b4074fb02867636e6e>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133891/new/
https://reviews.llvm.org/D133891
More information about the llvm-commits
mailing list