[all-commits] [llvm/llvm-project] 47a2fd: [X86] Add X86ISD::PCMPGT to SimplifyMultipleUseDem...

topperc via All-commits all-commits at lists.llvm.org
Mon Dec 30 11:01:07 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47a2fd2df4f4874c28823654be500c3aba93f768
      https://github.com/llvm/llvm-project/commit/47a2fd2df4f4874c28823654be500c3aba93f768
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/sadd_sat.ll
    M llvm/test/CodeGen/X86/sadd_sat_vec.ll
    M llvm/test/CodeGen/X86/ssub_sat.ll
    M llvm/test/CodeGen/X86/ssub_sat_vec.ll

  Log Message:
  -----------
  [X86] Add X86ISD::PCMPGT to SimplifyMultipleUseDemandedBitsForTargetNode.

If only the sign bit is demanded, and the LHS is all zeroes, then
we can bypass the PCMPGT.




More information about the All-commits mailing list