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

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 07:02:53 PST 2016


mssimpso updated this revision to Diff 81084.
mssimpso marked 3 inline comments as done.
mssimpso added a comment.

Addressed comments from Michael and Gerolf. Thanks!

- Rewrote sign bit computation to use "all_of" (Michael), and renamed variable to make the logic less confusing (Gerolf).
- Renamed ExTy to Extend (Michael).


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.81084.patch
Type: text/x-patch
Size: 10548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161212/a32995aa/attachment.bin>


More information about the llvm-commits mailing list