[PATCH] D15815: [SLP] Truncate expressions to minimum required bit width

Matthew Simpson via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 07:45:20 PST 2016


mssimpso updated this revision to Diff 44212.
mssimpso added a comment.

Added back the test case with i32 subtraction.

The test now has a case with i32 subtraction that we vectorize and a case with i64 subtraction that we type-shrink to i32. The cost model currently finds the i64 case to be unprofitable, though I will fix that with a follow-on patch.


http://reviews.llvm.org/D15815

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/AArch64/gather-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15815.44212.patch
Type: text/x-patch
Size: 23295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160107/f90679cb/attachment.bin>


More information about the llvm-commits mailing list