[PATCH] D120223: [SLP] Fix assert from non-constant index in insertelement
Brendon Cahoon via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 22 12:55:09 PST 2022
bcahoon updated this revision to Diff 410614.
bcahoon added a comment.
Changes based upon review. Don't just skip over insertelements with a
non-constant index. Instead, fall through to include additional cost
calculation.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120223/new/
https://reviews.llvm.org/D120223
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/slp-variable-insertelement.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120223.410614.patch
Type: text/x-patch
Size: 4904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/da32297e/attachment.bin>
More information about the llvm-commits
mailing list