[all-commits] [llvm/llvm-project] 676a03: [X86] matchBinaryShuffle - limit SHUFFLE(X, Y) -> O...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jul 23 08:57:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 676a03d8a5e325d8a3f92c1fb37ab0a8ae78b6e1
      https://github.com/llvm/llvm-project/commit/676a03d8a5e325d8a3f92c1fb37ab0a8ae78b6e1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

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

  Log Message:
  -----------
  [X86] matchBinaryShuffle - limit SHUFFLE(X,Y) -> OR(X,Y) cases to where X + Y are the same width as the result

Minor bit of prep work toward not unnecessarily widening shuffle operands in combineX86ShufflesRecursively, instead only widening in combineX86ShuffleChain if we actual find a match - see Issue #45319




More information about the All-commits mailing list