[PATCH] D60897: [SLP] Look-ahead operand reordering heuristic.
Vasileios Porpodas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 11:05:25 PDT 2019
vporpo updated this revision to Diff 225923.
vporpo added a comment.
This fixes the issue reported by @Carrot. It updates getShallowScore() to better cope with extracts from consecutive locations of the same vector (see last lit test). @Carrot, if you have the time please verify that this patch no longer causes a regression. Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60897/new/
https://reviews.llvm.org/D60897
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
llvm/test/Transforms/SLPVectorizer/X86/lookahead.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60897.225923.patch
Type: text/x-patch
Size: 45341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191021/a2457b05/attachment.bin>
More information about the llvm-commits
mailing list