[all-commits] [llvm/llvm-project] cc051b: [NFC][X86] Add some tests that can be matched as Z...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Mon Dec 26 13:48:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc051b07303687e7848447f024b90f69335667b6
      https://github.com/llvm/llvm-project/commit/cc051b07303687e7848447f024b90f69335667b6
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-12-27 (Tue, 27 Dec 2022)

  Changed paths:
    M llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
    M llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll

  Log Message:
  -----------
  [NFC][X86] Add some tests that can be matched as ZERO_EXTEND_VECTOR_INREG


  Commit: c4f815d7052805d613d95eb6a1fc8853ad61ba38
      https://github.com/llvm/llvm-project/commit/c4f815d7052805d613d95eb6a1fc8853ad61ba38
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-12-27 (Tue, 27 Dec 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll

  Log Message:
  -----------
  [DAGCombine] `combineShuffleToZeroExtendVectorInReg()`: widen shuffle elements before trying to match

We might have sunk a bitcast into shuffle, and now it might be operating
on more fine-grained elements than what we'd match, so we must not be
dependent on whatever the granularity the shuffle happened to be in,
but transform it into the one canonical for us - with widest elements.


Compare: https://github.com/llvm/llvm-project/compare/e26e7ed69ac6...c4f815d70528


More information about the All-commits mailing list