[all-commits] [llvm/llvm-project] 4ed452: [X86] getFauxShuffleMask - handle insert_subvector...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Aug 10 05:39:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ed452b74778430664ba3e1a59ba2eaf441423e6
      https://github.com/llvm/llvm-project/commit/4ed452b74778430664ba3e1a59ba2eaf441423e6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-trunc-packus.ll

  Log Message:
  -----------
  [X86] getFauxShuffleMask - handle insert_subvector(src, bitcast(extract_subvector(sub))) patterns

Add bitcast handling to the existing insert_subvector(src, extract_subvector(sub)) pattern, and recognise undef src cases to allow us to detect vector widening patterns.




More information about the All-commits mailing list