[all-commits] [llvm/llvm-project] 6dbf89: [X86] Add ICX target in `unpckpd` tuning tests; NFC

goldsteinn via All-commits all-commits at lists.llvm.org
Wed Mar 8 09:58:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dbf894b806665b53c148844b80f0631a3543698
      https://github.com/llvm/llvm-project/commit/6dbf894b806665b53c148844b80f0631a3543698
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/tuning-shuffle-unpckpd.ll

  Log Message:
  -----------
  [X86] Add ICX target in `unpckpd` tuning tests; NFC

Differential Revision: https://reviews.llvm.org/D145531


  Commit: 6b29a6f27d40cfc4225fe14d0f0a298fde611cad
      https://github.com/llvm/llvm-project/commit/6b29a6f27d40cfc4225fe14d0f0a298fde611cad
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86FixupInstTuning.cpp
    M llvm/test/CodeGen/X86/tuning-shuffle-unpckpd-avx512.ll
    M llvm/test/CodeGen/X86/tuning-shuffle-unpckpd.ll

  Log Message:
  -----------
  [X86] Add support for using Sched/Codesize information to `X86FixupInstTuning` Pass.

Use this to handle new transform: `{v}unpck{l|h}pd` -> `{v}shufps`. We
need the sched information here as `{v}shufps` is 1 more byte of code
size, so we only want to make this transformation if `{v}shufps` is
actually faster.

Differential Revision: https://reviews.llvm.org/D144570


  Commit: 8ac8c579e214e682ec72afa7e50a3198164182d7
      https://github.com/llvm/llvm-project/commit/8ac8c579e214e682ec72afa7e50a3198164182d7
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86FixupInstTuning.cpp
    M llvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
    M llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll
    M llvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/tuning-shuffle-permilps-avx512.ll
    M llvm/test/CodeGen/X86/tuning-shuffle-unpckpd-avx512.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll

  Log Message:
  -----------
  [X86] Add masked predicate execution variants for instructions in X86FixupInstTuning

Masked variants of UNPCKLPD, UNPCKHPD, and PERMILPS were missing and
be transformed with the same logic as their non-masked counterparts.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D144763


Compare: https://github.com/llvm/llvm-project/compare/80910d6ceb5f...8ac8c579e214


More information about the All-commits mailing list