[all-commits] [llvm/llvm-project] 814339: [X86][SSE] canonicalizeShuffleWithBinOps - handle ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Mar 15 08:01:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 814339454d9e18f3298abbfba13104ce5e01e0b2
      https://github.com/llvm/llvm-project/commit/814339454d9e18f3298abbfba13104ce5e01e0b2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/haddsub-3.ll
    M llvm/test/CodeGen/X86/haddsub-shuf.ll
    M llvm/test/CodeGen/X86/haddsub-undef.ll
    M llvm/test/CodeGen/X86/horizontal-sum.ll
    M llvm/test/CodeGen/X86/known-signbits-vector.ll
    M llvm/test/CodeGen/X86/phaddsub.ll
    M llvm/test/CodeGen/X86/srem-seteq-illegal-types.ll
    M llvm/test/CodeGen/X86/vec_uaddo.ll
    M llvm/test/CodeGen/X86/vec_usubo.ll
    M llvm/test/CodeGen/X86/vector-shuffle-sse4a.ll

  Log Message:
  -----------
  [X86][SSE] canonicalizeShuffleWithBinOps - handle target shuffles.

Fold SHUFFLE(BINOP(SHUFFLE(X),SHUFFLE(Y))) -> BINOP(SHUFFLE'(X),SHUFFLE'(Y)) style patterns as well as the existing shuffles of constants.




More information about the All-commits mailing list