[PATCH] Make DAGCombiner work on vector bitshifts with constant splat vectors.
Matthew.Arsenault at amd.com
Fri Mar 7 10:03:45 PST 2014
No, it doesn't. It only sort of looks that way because I extract the single constant to use its value. When the new operands are created with that value, they have the correct vector type and expand to the new constant build vector.
I meant to merge the patch adding getTypeSizeInBits() with this one, I'll update it.
More information about the llvm-commits