[PATCH] D14588: [X86][SSE] Transform truncation from v8i32/v16i32 to v8i8/v16i8 into bitand and X86ISD::PACKUS operations during DAG combine.
Cong Hou via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 25 00:13:38 PST 2015
congh updated this revision to Diff 41113.
congh added a comment.
Update the patch according to Simon's comments.
The optimization in this patch now covers more truncations with vXi32/vXi64 to vXi8/vXi16 for X >= 8.
http://reviews.llvm.org/D14588
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-trunc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14588.41113.patch
Type: text/x-patch
Size: 22593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/3c10de6d/attachment.bin>
More information about the llvm-commits
mailing list