[PATCH] D93599: [DAG] Simplify OR(X,SHL(Y,BW/2)) eq/ne 0/-1 'all/any-of' style patterns

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 02:50:02 PST 2020


RKSimon added a comment.

any more comments?



================
Comment at: llvm/test/CodeGen/X86/movmsk-cmp.ll:2711
 ; SSE-NEXT:    shll $16, %edx
 ; SSE-NEXT:    orl %eax, %edx
+; SSE-NEXT:    andl %ecx, %edx
----------------
BTW - we should be able to catch these concats as well by extending this patch's approach in a future commit


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93599/new/

https://reviews.llvm.org/D93599



More information about the llvm-commits mailing list