diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-10-26 20:34:52 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-10-26 20:34:52 +0000 |
commit | 528d2f12b701cd603678a27a106dbd87b15cbd24 (patch) | |
tree | bb16ec38c7a5dc86b66558022f60d5c6c4b19463 /clang/test/CodeGen/ppc64-varargs-struct.c | |
parent | 5f8d32425d3b58ddd08e3adf355d45a3c4918a34 (diff) | |
download | bcm5719-llvm-528d2f12b701cd603678a27a106dbd87b15cbd24.tar.gz bcm5719-llvm-528d2f12b701cd603678a27a106dbd87b15cbd24.zip |
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
Diffstat (limited to 'clang/test/CodeGen/ppc64-varargs-struct.c')
-rw-r--r-- | clang/test/CodeGen/ppc64-varargs-struct.c | 4 |
1 files changed, 4 insertions, 0 deletions
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]+}} } |