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

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 16 23:04:42 PDT 2017


delena added inline comments.


================
Comment at: test/CodeGen/X86/bitcast-and-setcc-256.ll:380
 ; AVX12:       # BB#0:
 ; AVX12-NEXT:    vcmpltps %ymm0, %ymm1, %ymm0
 ; AVX12-NEXT:    vextractf128 $1, %ymm0, %xmm1
----------------
This code fits in 4 instructions:
cmp
cmp
and
pmovmskpd

What happens without "and", just cmp + bitcast ?


Repository:
  rL LLVM

https://reviews.llvm.org/D37849





More information about the llvm-commits mailing list