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

Martin Bohme via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 03:29:21 PST 2017


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);




More information about the cfe-commits mailing list