]> granicus.if.org Git - clang/commitdiff
[X86] Use {{.*}} instead of hardcoded %1 in knot test.
authorMartin Bohme <mboehme@google.com>
Mon, 18 Dec 2017 11:29:21 +0000 (11:29 +0000)
committerMartin Bohme <mboehme@google.com>
Mon, 18 Dec 2017 11:29:21 +0000 (11:29 +0000)
This makes the test more resilient and consistent with the other tests
introduced in r320919.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320971 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/avx512f-builtins.c

index 9a3bf5a2448c1490b528ec81a8c37f97e5180e6e..ce831d690ee70484c5fc8751adb97786e093a7c2 100644 (file)
@@ -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);