[PATCH] D126099: [SLP] Fix crash in reorderBottomToTop().
Vasileios Porpodas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 20 16:04:03 PDT 2022
vporpo created this revision.
vporpo added reviewers: ABataev, RKSimon, vdmitrie.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vporpo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The crash is caused by incorrect order set by reorderBottomToTop(), which
happens when it is reordering a TreeEntry which has a user that has already been
reordered earlier. Please see the detailed description in the lit test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126099
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/reorder_with_reordered_users.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126099.431085.patch
Type: text/x-patch
Size: 7456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220520/9c31400a/attachment.bin>
More information about the llvm-commits
mailing list