From: Bill Schmidt Date: Fri, 26 Oct 2012 20:34:52 +0000 (+0000) Subject: This patch is a follow-up to r166805. As suggested on-list, a check was X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b334036d3ee581352cfe62ccac0e4c6592bcf35;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166812 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/ppc64-varargs-struct.c b/test/CodeGen/ppc64-varargs-struct.c index e69332ead4..61c33b0529 100644 --- a/test/CodeGen/ppc64-varargs-struct.c +++ b/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]+}} }