]> granicus.if.org Git - clang/commitdiff
Fix the CodeGen/ppc64-varargs-struct.c test case to tolerate release builds.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 4 Oct 2012 20:33:57 +0000 (20:33 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 4 Oct 2012 20:33:57 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165247 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ppc64-varargs-struct.c

index c007656111fd5dc780be2fcf70e4e9afc1e8f1a6..3c7e7cb6bc1092f89b3ae2efd2bc7b8f4bd568a5 100644 (file)
@@ -13,19 +13,19 @@ void testva (int n, ...)
   va_list ap;
 
   struct x t = va_arg (ap, struct x);
-// CHECK: bitcast i8* %ap.cur{{[0-9]*}} to %struct.x*
+// CHECK: bitcast i8* %{{[a-z.0-9]*}} to %struct.x*
 // CHECK: bitcast %struct.x* %t to i8*
 // CHECK: bitcast %struct.x* %{{[0-9]+}} to i8*
 // CHECK: call void @llvm.memcpy
 
   __int128_t u = va_arg (ap, __int128_t);
-// CHECK: ptrtoint i8* %ap.cur{{[0-9]*}} to i64
+// CHECK: ptrtoint i8* %{{[a-z.0-9]*}} to i64
 // CHECK: add i64 %{{[0-9]+}}, 15
 // CHECK: and i64 %{{[0-9]+}}, 4294967280
 // CHECK: inttoptr i64 %{{[0-9]+}} to i8*
 
   int v = va_arg (ap, int);
-// CHECK: ptrtoint i8* %ap.cur{{[0-9]*}} to i64
+// CHECK: ptrtoint i8* %{{[a-z.0-9]*}} to i64
 // CHECK: add i64 %{{[0-9]+}}, 4
 // CHECK: inttoptr i64 %{{[0-9]+}} to i8*
 // CHECK: bitcast i8* %{{[0-9]+}} to i32*