[all-commits] [llvm/llvm-project] cc77da: [X86] LowerTRUNCATE - use LowerTruncateVecPackWith...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 20 05:55:53 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/min-legal-vector-width.ll

  Log Message:
  -----------
  [X86] LowerTRUNCATE - use LowerTruncateVecPackWithSignBits for prefer-256 bit AVX512 cases during type legalization

If the AVX512 target will split the 512-bit vector truncation then try to use PACKSS/PACKUS first.




More information about the All-commits mailing list