[all-commits] [llvm/llvm-project] 9b04d6: [X86] Prefer AND over PSHUFB for v64i8 when possible

topperc via All-commits all-commits at lists.llvm.org
Mon Jun 29 16:27:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b04d69ccefb57ec202a0ecdb36a84ed0568aead
      https://github.com/llvm/llvm-project/commit/9b04d69ccefb57ec202a0ecdb36a84ed0568aead
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-06-29 (Mon, 29 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-mask-op.ll
    M llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll

  Log Message:
  -----------
  [X86] Prefer AND over PSHUFB for v64i8 when possible

If the shuffle is a blend and one input is a 0 vector, we should prefer AND over PSHUFB since its available on more execution ports.

Differential Revision: https://reviews.llvm.org/D82798




More information about the All-commits mailing list