[all-commits] [llvm/llvm-project] 92af82: [VectorCombine] Fold "shuffle (binop (shuffle, shu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Oct 31 03:58:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92af82a48d09ffe96c4f3275b80b9692b0c6a803
      https://github.com/llvm/llvm-project/commit/92af82a48d09ffe96c4f3275b80b9692b0c6a803
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/horiz-math-inseltpoison.ll
    M llvm/test/Transforms/PhaseOrdering/X86/horiz-math.ll
    M llvm/test/Transforms/PhaseOrdering/X86/pr50392.ll
    M llvm/test/Transforms/PhaseOrdering/X86/pr94546.ll
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
    M llvm/test/Transforms/VectorCombine/X86/permute-of-binops.ll

  Log Message:
  -----------
  [VectorCombine] Fold "shuffle (binop (shuffle, shuffle)), undef" --> "binop (shuffle), (shuffle)" (#114101)

Add foldPermuteOfBinops - to fold a permute (single source shuffle) through a binary op that is being fed by other shuffles.

Fixes #94546
Fixes #49736



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list