[cfe-commits] r165247 - /cfe/trunk/test/CodeGen/ppc64-varargs-struct.c

Bill Schmidt wschmidt at linux.vnet.ibm.com
Thu Oct 4 13:33:57 PDT 2012


Author: wschmidt
Date: Thu Oct  4 15:33:57 2012
New Revision: 165247

URL: http://llvm.org/viewvc/llvm-project?rev=165247&view=rev
Log:
Fix the CodeGen/ppc64-varargs-struct.c test case to tolerate release builds.

Modified:
    cfe/trunk/test/CodeGen/ppc64-varargs-struct.c

Modified: cfe/trunk/test/CodeGen/ppc64-varargs-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ppc64-varargs-struct.c?rev=165247&r1=165246&r2=165247&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ppc64-varargs-struct.c (original)
+++ cfe/trunk/test/CodeGen/ppc64-varargs-struct.c Thu Oct  4 15:33:57 2012
@@ -13,19 +13,19 @@
   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*





More information about the cfe-commits mailing list