[DAGCombiner] add one-use restriction to vector transform with cheap extract
We might be able to do better on the example in the test, but in general, we should not scalarize a splatted vector binop if there are other uses of the binop. Otherwise, we can end up with code as we had - a scalar op that is redundant with a vector op. llvm-svn: 372886
Loading
Please register or sign in to comment