[PATCH] D37849: [SelectionDAG] Add BITCAST handling to ComputeNumSignBits for splatted sign bits.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 17 09:25:02 PDT 2017


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/psubus.ll:521
 ; AVX2-NEXT:    vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
-; AVX2-NEXT:    vpandn %xmm0, %xmm2, %xmm0
+; AVX2-NEXT:    vpxor %xmm1, %xmm1, %xmm1
+; AVX2-NEXT:    vpblendvb %xmm2, %xmm1, %xmm0, %xmm0
----------------
delena wrote:
> Theoretically, your patch does the right thing. Did you check why an additional instruction here?
I haven't confirmed yet, but it might be the same issue as PR28925


Repository:
  rL LLVM

https://reviews.llvm.org/D37849





More information about the llvm-commits mailing list