]> granicus.if.org Git - clang/commitdiff
This patch is a follow-up to r166805. As suggested on-list, a check was
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 26 Oct 2012 20:34:52 +0000 (20:34 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 26 Oct 2012 20:34:52 +0000 (20:34 +0000)
added to ensure no extra alignment code is added in the future.

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

test/CodeGen/ppc64-varargs-struct.c

index e69332ead434235f281a6fd35c3c2b94d4a1929f..61c33b052980104ddbfd38e6ed23b2ae59703c4d 100644 (file)
@@ -23,4 +23,8 @@ void testva (int n, ...)
 // CHECK: add i64 %{{[0-9]+}}, 4
 // CHECK: inttoptr i64 %{{[0-9]+}} to i8*
 // CHECK: bitcast i8* %{{[0-9]+}} to i32*
+
+  __int128_t u = va_arg (ap, __int128_t);
+// CHECK: bitcast i8* %{{[a-z.0-9]+}} to i128*
+// CHECK-NEXT: load i128* %{{[0-9]+}}
 }