diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-02-06 13:44:45 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-02-06 13:44:45 +0000 |
commit | bfd4495512cf8a1d3688f449e43b1d3fcdfa81ac (patch) | |
tree | 04b95c0c1fba9c395ff4c79e74f50578143ed5b8 /llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp | |
parent | 3aa8a90effb29d75c139d8f5088c669dafc5bdcf (diff) | |
download | bcm5719-llvm-bfd4495512cf8a1d3688f449e43b1d3fcdfa81ac.tar.gz bcm5719-llvm-bfd4495512cf8a1d3688f449e43b1d3fcdfa81ac.zip |
[X86][SSE] Combine shuffle nodes with multiple uses if all the users are being combined.
Currently we only combine shuffle nodes if they have a single user to prevent us from causing code bloat by splitting the shuffles into several different combines.
We don't take into account that in some cases we will already have combined all the users during recursively calling up the shuffle tree.
This patch keeps a list of all the shuffle nodes that have been combined so far and permits combining of further shuffle nodes if all its users are in that list.
Differential Revision: https://reviews.llvm.org/D29399
llvm-svn: 294183
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions