[all-commits] [llvm/llvm-project] 0bf159: [VectorCombine] foldPermuteOfBinops - fold "shuffl...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Jan 14 02:43:43 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0bf1591d01a218dff236e94ca9e0880013129855
https://github.com/llvm/llvm-project/commit/0bf1591d01a218dff236e94ca9e0880013129855
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/PhaseOrdering/X86/hadd.ll
M llvm/test/Transforms/PhaseOrdering/X86/hsub.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
M llvm/test/Transforms/VectorCombine/X86/permute-of-binops.ll
Log Message:
-----------
[VectorCombine] foldPermuteOfBinops - fold "shuffle (binop (shuffle, other)), undef" --> "binop (shuffle), (shuffle)". (#122118)
foldPermuteOfBinops currently requires both binop operands to be oneuse shuffles to fold the shuffles across the binop, but there will be cases where its still profitable to fold across the binop with only one foldable shuffle.
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