[PATCH] D27466: [SLP] Fix sign-extends for type-shrinking

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 11:08:53 PST 2016


mssimpso updated this revision to Diff 80786.
mssimpso marked an inline comment as done.
mssimpso added a comment.

Addressed Michael's comments.

- Reduced the existing test case. The test now uses -slp-threshold to force vectorization.
- Added another test for the sext case.
- Added FIXME's in both the source and test explaining why the sext case is currently suboptimal, but correct.


https://reviews.llvm.org/D27466

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/minimum-sizes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27466.80786.patch
Type: text/x-patch
Size: 10732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/e829eb7a/attachment.bin>


More information about the llvm-commits mailing list