[all-commits] [llvm/llvm-project] e4e5c4: [X86][SSE] isTargetShuffleEquivalent - ensure shuf...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Oct 4 07:32:40 PDT 2020


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

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

  Log Message:
  -----------
  [X86][SSE] isTargetShuffleEquivalent - ensure shuffle inputs are the correct size.

Preliminary patch for the next stage of PR45974 - we don't want to be creating 'padded' vectors on-the-fly at all in combineX86ShufflesRecursively, and only pad the source inputs if we have a definite match inside combineX86ShuffleChain.

This means that the inputs to combineX86ShuffleChain might soon be smaller than the final root value type, so we should ensure that isTargetShuffleEquivalent only matches with the inputs if they are the correct size.




More information about the All-commits mailing list