[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
Mon Nov 30 12:29:14 PST 2015


congh updated this revision to Diff 41424.
congh added a comment.

Stop using SHUFP as it is for floating points and can cause domain switch.

Also update the test case by adding AVX512 test and v16i64 to v16i8 truncation.


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.41424.patch
Type: text/x-patch
Size: 32744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151130/787a3c75/attachment.bin>


More information about the llvm-commits mailing list