[PATCH] D60625: [X86][SSE] Lower ICMP EQ(AND(X,C),C) -> SRA(SHL(X,LOG2(C)),BW-1) iff C is power-of-2.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 04:59:33 PDT 2019


RKSimon updated this revision to Diff 195541.
RKSimon added a comment.

Use isConstOrConstSplat


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60625

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/movmsk-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60625.195541.patch
Type: text/x-patch
Size: 75396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190417/122b6c18/attachment-0001.bin>


More information about the llvm-commits mailing list