[PATCH] D29399: [X86][SSE] Combine shuffle nodes with multiple uses if all the users are being combined.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 09:40:59 PST 2017
RKSimon created this revision.
Herald added a subscriber: igorb.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6696 bytes
Desc: not available
More information about the llvm-commits