diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2014-12-17 12:32:17 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2014-12-17 12:32:17 +0000 |
commit | 047b1a0400fe75e5d6017c287383153beb5f29eb (patch) | |
tree | 8e3d505d8d07fee1b57b1bd30e7100fc46e9ba26 /clang/lib/Format | |
parent | 9941195a9ff05d1f29955473e0f50655803f8e92 (diff) | |
download | bcm5719-llvm-047b1a0400fe75e5d6017c287383153beb5f29eb.tar.gz bcm5719-llvm-047b1a0400fe75e5d6017c287383153beb5f29eb.zip |
[DAGCombine] Slightly improve lowering of BUILD_VECTOR into a shuffle.
This handles the case of a BUILD_VECTOR being constructed out of elements extracted from a vector twice the size of the result vector. Previously this was always scalarized. Now, we try to construct a shuffle node that feeds on extract_subvectors.
This fixes PR15872 and provides a partial fix for PR21711.
Differential Revision: http://reviews.llvm.org/D6678
llvm-svn: 224429
Diffstat (limited to 'clang/lib/Format')
0 files changed, 0 insertions, 0 deletions