[PATCH] D113426: [DAGCombiner] add fold for vselect based on mask of signbit, part 3
    Simon Pilgrim via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Nov 10 11:14:26 PST 2021
    
    
  
RKSimon added inline comments.
================
Comment at: llvm/test/CodeGen/X86/vselect-zero.ll:977
 ; AVX2-NEXT:    vpcmpgtd %ymm2, %ymm0, %ymm0
 ; AVX2-NEXT:    vpand %ymm1, %ymm0, %ymm0
 ; AVX2-NEXT:    retq
----------------
Any ideas why AVX2 fails to fold to ANDN(SRA(X,31),Y) ?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113426/new/
https://reviews.llvm.org/D113426
    
    
More information about the llvm-commits
mailing list