[all-commits] [llvm/llvm-project] 05b907: [VectorCombine] foldShuffleOfShuffles - allow fold...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Dec 10 05:10:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05b907f66b6aed06b8ad3b27883b9108a77858d2
      https://github.com/llvm/llvm-project/commit/05b907f66b6aed06b8ad3b27883b9108a77858d2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/shuffle-inseltpoison.ll
    M llvm/test/Transforms/PhaseOrdering/X86/shuffle.ll
    M llvm/test/Transforms/VectorCombine/X86/shuffle-of-shuffles.ll

  Log Message:
  -----------
  [VectorCombine] foldShuffleOfShuffles - allow fold with only single shuffle operand. (#119354)

foldShuffleOfShuffles already handles "shuffle (shuffle x, undef), (shuffle y, undef)" patterns, this patch relaxes the requirement so it can handle cases where only a single operand is a shuffle (and the other can be any other value and will be kept in place).

Fixes #86068



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