[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 Dec 21 11:38:38 PST 2015


congh marked 2 inline comments as done.
congh added a comment.

Thanks a lot for the review, Simon!


================
Comment at: test/CodeGen/X86/vector-trunc.ll:156
@@ +155,3 @@
+
+define void @trunc8i64_8i8(<8 x i64> %a) {
+; SSE2-LABEL: trunc8i64_8i8:
----------------
RKSimon wrote:
> Its a pity that the SSSE3/SSE41 codegen is still so poor - can you add a FIXME explaining what still needs doing?
I'll adjust the conditions to let this SSSE3/SSE41 codegen be as good as SSE2.


http://reviews.llvm.org/D14588





More information about the llvm-commits mailing list