[PATCH] D126713: [SLPVectorizer] Fix extractelement insertion point
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 31 11:42:59 PDT 2022
anna created this revision.
anna added reviewers: ABataev, fhahn, RKSimon.
Herald added subscribers: vporpo, hiraditya.
Herald added a project: All.
anna requested review of this revision.
Herald added a project: LLVM.
7d8060bc1 <https://reviews.llvm.org/rG7d8060bc19e9b03c93d825a5a790e3c1f4978c52> exposed an assertion failure in setInsertPointAfterBundle,
when the extractelement instruction is not in the same basic block as
the rest of the instructions in the bundle.
Updated the insertion point to avoid the assertion failure.
Fixes https://github.com/llvm/llvm-project/issues/55796 and added
testcase.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126713
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/pr55796.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126713.433157.patch
Type: text/x-patch
Size: 7264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220531/fc65e290/attachment.bin>
More information about the llvm-commits
mailing list