[PATCH] D57667: [X86][SSE] SimplifyDemandedBitsForTargetNode - PCMPGT(0, X) sign mask

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 3 14:49:11 PST 2019


RKSimon created this revision.
RKSimon added reviewers: craig.topper, spatel, lebedev.ri.
Herald added a project: LLVM.

For PCMPGT(0, X) patterns where we only demand the sign bit (e.g. BLENDV or MOVMSK) then we can use X directly.


Repository:
  rL LLVM

https://reviews.llvm.org/D57667

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-cvt-widen.ll
  test/CodeGen/X86/avx512-cvt.ll
  test/CodeGen/X86/avx512-schedule.ll
  test/CodeGen/X86/bitcast-setcc-128.ll
  test/CodeGen/X86/bitcast-setcc-256.ll
  test/CodeGen/X86/bitcast-setcc-512.ll
  test/CodeGen/X86/movmsk-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57667.184981.patch
Type: text/x-patch
Size: 9418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190203/27b4e0d1/attachment.bin>


More information about the llvm-commits mailing list