| commit | 25e34d11f3cab6a79b7fc22d5385f86523550e90 | [log] [tgz] |
|---|---|---|
| author | Michael Kuperstein <michael.m.kuperstein@intel.com> | Thu Jan 22 13:07:28 2015 +0000 |
| committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | Thu Jan 22 13:07:28 2015 +0000 |
| tree | e3f6d83d0a06865c99eafe7b661aa45451e1dd9a | |
| parent | a007905e4eb7b1c2b134ee6a936d895ba9ac575a [diff] |
[DAGCombine] Produce better code for constant splats This solves PR22276. Splats of constants would sometimes produce redundant shuffles, sometimes ridiculously so (see the PR for details). Fold these shuffles into BUILD_VECTORs early on instead. Differential Revision: http://reviews.llvm.org/D7093 Fixed recommit of r226811. llvm-svn: 226816