[PATCH] D126777: [SLP]Fix PR55796: insert point for extractelements from different basic blocks.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 06:37:44 PDT 2022


ABataev created this revision.
ABataev added reviewers: RKSimon, anna.
Herald added subscribers: vporpo, hiraditya.
Herald added a project: All.
ABataev requested review of this revision.
Herald added a project: LLVM.

Extractelement instructions may come from different basic blocks, need
to take it into account when looking for a last instruction in the
bundle to prevent compiler crash.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126777

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/gather-extractelements-different-bbs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126777.433378.patch
Type: text/x-patch
Size: 5233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220601/5b6e6314/attachment.bin>


More information about the llvm-commits mailing list