[PATCH] D32953: [X86][SSE] Improve combineLogicBlendIntoPBLENDV to use general masks.

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 04:51:52 PDT 2017


delena added inline comments.


================
Comment at: test/CodeGen/X86/pr32907.ll:26
 ; AVX2-NEXT:    vpsrad $31, %xmm0, %xmm1
 ; AVX2-NEXT:    vpshufd {{.*#+}} xmm1 = xmm1[1,1,3,3]
 ; AVX2-NEXT:    vpxor %xmm2, %xmm2, %xmm2
----------------
I assume that ComputeNumSignBits() does not recognize the ASHR sequence here, otherwise it would be able to generate VPBLEND, right?


Repository:
  rL LLVM

https://reviews.llvm.org/D32953





More information about the llvm-commits mailing list