[PATCH] D20598: [X86] Detect SAD patterns and emit psadbw instructions on X86 redux
Michael Kuperstein via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 16:01:26 PDT 2016
mkuper updated this revision to Diff 58711.
mkuper added a comment.
Got rid of NumConcat.
Regarding the shuffle - I don't see a good way to get rid of it locally. If you have an idea on how to do that, I'll be happy to hear it.
It can probably be cleaned up with a DAGCombine that recognizes the shuffle we get from the extract is a nop (because the only lanes it shuffles around are zero). Are you ok with leaving a fixme, and following up on that separately if we think it's worthwhile?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7194 bytes
Desc: not available
More information about the llvm-commits