diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-01-22 12:37:23 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-01-22 12:37:23 +0000 |
commit | 84fad3e5c9f75710ad1f43198c6e136e7cdb46b4 (patch) | |
tree | 04d9c0d679cd5d5c911e13c5b9350e472055cdcb /llvm/lib/CodeGen/InterferenceCache.h | |
parent | febfd3453ec975887ef2370fa4b9a6a9a6757950 (diff) | |
download | bcm5719-llvm-84fad3e5c9f75710ad1f43198c6e136e7cdb46b4.tar.gz bcm5719-llvm-84fad3e5c9f75710ad1f43198c6e136e7cdb46b4.zip |
[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
llvm-svn: 226811
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.h')
0 files changed, 0 insertions, 0 deletions