[PATCH] D53107: [X86] Move promotion of vector and/or/xor from legalization to DAG combine

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 10 14:00:35 PDT 2018


craig.topper added inline comments.


================
Comment at: test/CodeGen/X86/vector-trunc-usat.ll:734
+; SSE2-NEXT:    pxor %xmm4, %xmm2
+; SSE2-NEXT:    psrld $16, %xmm2
+; SSE2-NEXT:    por %xmm1, %xmm2
----------------
Looks like we're now using a pcmpeq+xor+shr instead of a andn with a constant pool throughout this test. I wonder if this already happens with vXi64 types and now it happens with other vector types.


https://reviews.llvm.org/D53107





More information about the llvm-commits mailing list