Craig Topper 9a7e19b8f2 [DAGCombiner][X86][Mips] Enable combineShuffleOfScalars to run between vector op legalization and DAG legalization. Fix bad one use check in combineShuffleOfScalars
It's possible for vector op legalization to generate a shuffle. If that happens we should give a chance for DAG combine to combine that with a build_vector input.

I also fixed a bug in combineShuffleOfScalars that was considering the number of uses on a undef input to a shuffle. We don't care how many times undef is used.

Differential Revision: https://reviews.llvm.org/D54283

llvm-svn: 346530
2018-11-09 18:04:34 +00:00
..
2018-10-27 15:00:38 +00:00
2018-06-29 16:37:16 +00:00
2018-07-23 23:19:53 +00:00
2017-12-11 11:21:40 +00:00
2018-02-09 10:46:16 +00:00
2017-12-11 11:21:40 +00:00