[llvm] [InstCombine] Fold shuffles through all trivially vectorizable intrinsics (PR #141979)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri May 30 04:08:27 PDT 2025
================
@@ -1432,11 +1431,15 @@ InstCombinerImpl::foldShuffledIntrinsicOperands(IntrinsicInst *II) {
// See if all arguments are shuffled with the same mask.
----------------
nikic wrote:
Pre-existing, but the one use check above should be about the shuffle operands only, right? It doesn't help us if a constant argument is one-use (which it always is).
https://github.com/llvm/llvm-project/pull/141979
More information about the llvm-commits
mailing list