[PATCH] D11678: [CodeGen] Fixes *absdiff* intrinsic: LangRef doc/test case improvement and corresponding code change

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 02:18:03 PDT 2015


Hi Shahid,

Ahmed is actually suggesting the opposite - your regexes are *too*
restrictive. Consider relaxing them instead:

[[SRC:%.*]]

James

On Thu, 27 Aug 2015 at 10:03 Shahid via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> ashahid added inline comments.
>
> ================
> Comment at: test/CodeGen/X86/absdiff_128.ll:11-12
> @@ +10,4 @@
> +; CHECK:      punpckldq
> +; CHECK-DAG:  movd   %xmm1, [[SRC:%e[a-d]+x]]
> +; CHECK-DAG:  movd   %xmm0, [[DST:%e[a-d]+x]]
> +; CHECK:      subl [[SRC]], [[DST]]
> ----------------
> ab wrote:
> > The a-d seems too restrictive (what about, say, %r9d?), and '+' seems
> unnecessary.
> Thanks for the input, do you mean to use explicit register name in case of
> ABI specific register. For example, here if we are expecting EAX & ECX abi
> registers respectively, I should specify %eax & %ecx?
>
>
> http://reviews.llvm.org/D11678
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150827/123c080a/attachment.html>


More information about the llvm-commits mailing list