[all-commits] [llvm/llvm-project] 310a9a: [X86] matchBinaryShuffle - relax PACKSS for v2i64 ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 19 10:58:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 310a9a4f2881de25101be121fdea114d20e6dc5b
      https://github.com/llvm/llvm-project/commit/310a9a4f2881de25101be121fdea114d20e6dc5b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/concat-cast.ll

  Log Message:
  -----------
  [X86] matchBinaryShuffle - relax PACKSS for v2i64 -> v4i32 shuffle truncation pattern match.

Similar to combineVectorSignBitsTruncation, we don't require all-signbits source inputs, just enough signbits to reach into the lowest i16 to safely use PACKSSDW.




More information about the All-commits mailing list