[all-commits] [llvm/llvm-project] 63f1ca: [X86] Generalize combineVectorTruncationWithPACKUS...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 26 04:40:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63f1ca11a6fe6c24a5793afe0992820495075e54
      https://github.com/llvm/llvm-project/commit/63f1ca11a6fe6c24a5793afe0992820495075e54
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

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

  Log Message:
  -----------
  [X86] Generalize combineVectorTruncationWithPACKUS/combineVectorTruncationWithPACKSS and reuse in LowerTRUNCATE

Rename combineVectorTruncationWithPACK* to truncateVectorWithPACK* and split the operands so LowerTRUNCATE can more easily use them.

Noticed while investigating some regressions in D152928 due to us trying to truncate to PACKUS/PACKSS instructions too early




More information about the All-commits mailing list