diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-04-03 10:02:21 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-04-03 10:02:21 +0000 |
commit | ed2ba33ba0b3f123f22ffd3b09947487f4ac0844 (patch) | |
tree | 7e55c262860fc93d7a1513f8766a8e5c044b476a /llvm/lib/Object | |
parent | 488c89ed77255695ddc1ffc57ee7996caa308778 (diff) | |
download | bcm5719-llvm-ed2ba33ba0b3f123f22ffd3b09947487f4ac0844.tar.gz bcm5719-llvm-ed2ba33ba0b3f123f22ffd3b09947487f4ac0844.zip |
[DAGCombiner] Combine shuffles of BUILD_VECTOR and SCALAR_TO_VECTOR
This patch attempts to fold the shuffling of 'scalar source' inputs - BUILD_VECTOR and SCALAR_TO_VECTOR nodes - if the shuffle node is the only user. This folds away a lot of unnecessary shuffle nodes, and allows quite a bit of constant folding that was being missed.
Differential Revision: http://reviews.llvm.org/D8516
llvm-svn: 234004
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions