[all-commits] [llvm/llvm-project] 3bae69: [VectorCombine][X86] Add additional length changin...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 6 04:06:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bae69ec8c45ce94f206b6094af46a329c0248ce
      https://github.com/llvm/llvm-project/commit/3bae69ec8c45ce94f206b6094af46a329c0248ce
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M llvm/test/Transforms/VectorCombine/X86/shuffle-inseltpoison.ll
    M llvm/test/Transforms/VectorCombine/X86/shuffle.ll

  Log Message:
  -----------
  [VectorCombine][X86] Add additional length changing foldBitcastShuf tests

Made these TODO instead of negative


  Commit: 94795a37e892cfedb570c70a5101ea88348e60c7
      https://github.com/llvm/llvm-project/commit/94795a37e892cfedb570c70a5101ea88348e60c7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/X86/shuffle-inseltpoison.ll
    M llvm/test/Transforms/VectorCombine/X86/shuffle.ll

  Log Message:
  -----------
  [VectorCombine] foldBitcastShuf - add support for length changing shuffles

Allow length changing shuffle masks in the "bitcast (shuf V, MaskC) --> shuf (bitcast V), MaskC'" fold.

It also exposes some poor shuffle mask detection for extract/insert subvector cases inside improveShuffleKindFromMask

First stage towards addressing Issue #67803


  Commit: a16f6462d756804276d4b39267b3c19bcd6949fe
      https://github.com/llvm/llvm-project/commit/a16f6462d756804276d4b39267b3c19bcd6949fe
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/test/Transforms/VectorCombine/X86/shuffle-inseltpoison.ll
    M llvm/test/Transforms/VectorCombine/X86/shuffle.ll

  Log Message:
  -----------
  [TTI] improveShuffleKindFromMask - detect SK_ExtractSubvector patterns from SK_PermuteSingleSrc


Compare: https://github.com/llvm/llvm-project/compare/6a2071cc6a12...a16f6462d756


More information about the All-commits mailing list