[all-commits] [llvm/llvm-project] 6c7d71: [X86][SSE] combineX86ShuffleChain add 'Canonicaliz...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Oct 6 09:52:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c7d713cf5d9bb188f1e73452a256386f0288bf7
      https://github.com/llvm/llvm-project/commit/6c7d713cf5d9bb188f1e73452a256386f0288bf7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

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

  Log Message:
  -----------
  [X86][SSE] combineX86ShuffleChain add 'CanonicalizeShuffleInput' helper. NFCI.

As part of PR45974, we're getting closer to not creating 'padded' vectors on-the-fly in combineX86ShufflesRecursively, and only pad the source inputs if we have a definite match inside combineX86ShuffleChain.

At the moment combineX86ShuffleChain just has to bitcast an input to the correct shuffle type, but eventually we'll need to pad them as well. So, move the bitcast into a 'CanonicalizeShuffleInput helper for now, making the diff for future padding support a lot smaller.




More information about the All-commits mailing list