r320971 - [X86] Use {{.*}} instead of hardcoded %1 in knot test.

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 11:02:08 PST 2017


Thanks!

~Craig

On Mon, Dec 18, 2017 at 3:29 AM, Martin Bohme via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: mboehme
> Date: Mon Dec 18 03:29:21 2017
> New Revision: 320971
>
> URL: http://llvm.org/viewvc/llvm-project?rev=320971&view=rev
> Log:
> [X86] Use {{.*}} instead of hardcoded %1 in knot test.
>
> This makes the test more resilient and consistent with the other tests
> introduced in r320919.
>
> Modified:
>     cfe/trunk/test/CodeGen/avx512f-builtins.c
>
> Modified: cfe/trunk/test/CodeGen/avx512f-builtins.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/
> CodeGen/avx512f-builtins.c?rev=320971&r1=320970&r2=320971&view=diff
> ============================================================
> ==================
> --- cfe/trunk/test/CodeGen/avx512f-builtins.c (original)
> +++ cfe/trunk/test/CodeGen/avx512f-builtins.c Mon Dec 18 03:29:21 2017
> @@ -385,7 +385,7 @@ __m512d test_mm512_set1_pd(double d)
>  __mmask16 test_mm512_knot(__mmask16 a)
>  {
>    // CHECK-LABEL: @test_mm512_knot
> -  // CHECK: [[IN:%.*]] = bitcast i16 %1 to <16 x i1>
> +  // CHECK: [[IN:%.*]] = bitcast i16 %{{.*}} to <16 x i1>
>    // CHECK: [[NOT:%.*]] = xor <16 x i1> [[IN]], <i1 true, i1 true, i1
> true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1
> true, i1 true, i1 true, i1 true, i1 true, i1 true>
>    // CHECK: bitcast <16 x i1> [[NOT]] to i16
>    return _mm512_knot(a);
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171218/b48d723c/attachment.html>


More information about the cfe-commits mailing list