[PATCH] D28810: [X86][SSE] Use MOVMSK for all_of/any_of reduction patterns
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 08:52:35 PST 2017
RKSimon created this revision.
This is a first attempt at using the MOVMSK instructions to replace all_of/any_of reduction patterns (i.e. an and/or + shuffle chain).
So far this only matches patterns where we are reducing an all/none bits source vector (i.e. a comparison result) but we should be able to expand on this in conjunction with improvements to 'bool vector' handling both in the x86 backend as well as the vectorizers etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 55735 bytes
Desc: not available
More information about the llvm-commits