[DAGCombiner] `combineShuffleOfSplatVal()`: try to canonicalize to a splat shuffle
As noted in https://reviews.llvm.org/D141778#inline-1369900, we fail to produce splat shuffles from certain sequences of shuffles, that may have non-shuffles in the middle of seq. There is a big pitfail to avoid here: just because `isSplatValue()` says that all demanded elements are splat, we can't pick any random one of them, because some of them could be undef! We must ignore those!
parent
59700151
Please register or sign in to comment