From 528d2f12b701cd603678a27a106dbd87b15cbd24 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Fri, 26 Oct 2012 20:34:52 +0000 Subject: This patch is a follow-up to r166805. As suggested on-list, a check was added to ensure no extra alignment code is added in the future. llvm-svn: 166812 --- clang/test/CodeGen/ppc64-varargs-struct.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/test/CodeGen/ppc64-varargs-struct.c') diff --git a/clang/test/CodeGen/ppc64-varargs-struct.c b/clang/test/CodeGen/ppc64-varargs-struct.c index e69332ead43..61c33b05298 100644 --- a/clang/test/CodeGen/ppc64-varargs-struct.c +++ b/clang/test/CodeGen/ppc64-varargs-struct.c @@ -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]+}} } -- cgit v1.2.3