[PATCH] D20598: [X86] Detect SAD patterns and emit psadbw instructions on X86 redux
Wei Mi via llvm-commits
llvm-commits at lists.llvm.org
Fri May 27 08:57:59 PDT 2016
wmi added a comment.
LGTM. But I find that the code generated for sad_16i8/sad_32i8 are not very good because of INSERT_SUBVECTOR. Legalization of INSERT_SUBVECTOR introduces many useless stack saves/restores. We may need to fix them in a separate patch before recommit r267649 and this patch.
More information about the llvm-commits