[PATCH] D119623: [SLP] Simplify indices processing for insertelements

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 12 00:31:33 PST 2022


anton-afanasyev created this revision.
anton-afanasyev added reviewers: ABataev, RKSimon, dtemirbulatov.
Herald added subscribers: arphaman, hiraditya.
anton-afanasyev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Get rid of non-constant and undef indices of insertelements
at `buildTree()` stage. Fix bugs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119623

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/insert-crash-index.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119623.408165.patch
Type: text/x-patch
Size: 8120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220212/c62f8fc5/attachment.bin>


More information about the llvm-commits mailing list