[all-commits] [llvm/llvm-project] f47f4c: [X86] getFauxShuffleMask - merge insertelement paths

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Mar 14 06:11:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f47f4c137b930029bccc0ff5c0b8feb567d83e4a
      https://github.com/llvm/llvm-project/commit/f47f4c137b930029bccc0ff5c0b8feb567d83e4a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-03-14 (Sat, 14 Mar 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] getFauxShuffleMask - merge insertelement paths

Merge the INSERT_VECTOR_ELT/SCALAR_TO_VECTOR and PINSRW/PINSRB shuffle mask paths - they both do the same thing (find source vector + handle implicit zero extension). The PINSRW/PINSRB path also handled in the insertion of zero case which needed to be added to the general case as well.




More information about the All-commits mailing list