[PATCH] D21495: [X86][SSE] Allow target shuffle combining to match masks with SM_Sentinel values
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 19 10:30:08 PDT 2016
RKSimon added a comment.
In http://reviews.llvm.org/D21495#461774, @spatel wrote:
> LGTM. Can you put isTargetShuffleEquivalent() in a non-target-specific place, so any backend can use it?
Not really - the sentinels are X86 concepts for decoded shuffles and we don't have an accepted standard for what negative/out-of-range mask indices represent. isShuffleEquivalent could possibly be moved to a generic location - I'll investigate.
More information about the llvm-commits