]> granicus.if.org Git - clang/commitdiff
[AArch64] Use filecheck captures for metadata node numbers in test. NFC
authorDavid Green <david.green@arm.com>
Fri, 5 Oct 2018 10:21:25 +0000 (10:21 +0000)
committerDavid Green <david.green@arm.com>
Fri, 5 Oct 2018 10:21:25 +0000 (10:21 +0000)
Just a quick fix for cases where extra metadata members are present.

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

test/CodeGen/arm64-microsoft-intrinsics.c

index 89e6c369f4d34577644eed11573699a982968ca4..c8516079eb82db5187db180dc4c8e14c4f326626 100644 (file)
@@ -74,7 +74,7 @@ unsigned __int64 check__getReg() {
   return reg;
 }
 
-// CHECK-MSVC: call i64 @llvm.read_register.i64(metadata !2)
-// CHECK-MSVC: call i64 @llvm.read_register.i64(metadata !3)
-// CHECK-MSVC: !2 = !{!"x18"}
-// CHECK-MSVC: !3 = !{!"sp"}
+// CHECK-MSVC: call i64 @llvm.read_register.i64(metadata ![[MD2:.*]])
+// CHECK-MSVC: call i64 @llvm.read_register.i64(metadata ![[MD3:.*]])
+// CHECK-MSVC: ![[MD2]] = !{!"x18"}
+// CHECK-MSVC: ![[MD3]] = !{!"sp"}