[all-commits] [llvm/llvm-project] fb92f8: [X86] Add some demanded bits test cases for PDEP w...

topperc via All-commits all-commits at lists.llvm.org
Thu Sep 17 22:57:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb92f863f6849c7fa01f5487bd09544ee0856c59
      https://github.com/llvm/llvm-project/commit/fb92f863f6849c7fa01f5487bd09544ee0856c59
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/bmi2-x86_64.ll
    M llvm/test/CodeGen/X86/bmi2.ll

  Log Message:
  -----------
  [X86] Add some demanded bits test cases for PDEP with constant mask

The number of ones in the mask for the PDEP determines how many
bits of the other operand are used. If the mask is constant we
can use this to build a mask for SimplifyDemandedBits. This can
be used to replace the extends in the test with anyextend.




More information about the All-commits mailing list