aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-10-26 20:34:52 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-10-26 20:34:52 +0000
commit3b334036d3ee581352cfe62ccac0e4c6592bcf35 (patch)
tree85d438567044b6ea4774957ce947798d47b3526f
parent7b5209cdcbaedf5775d59d46cb3118c8215ba628 (diff)
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
-rw-r--r--test/CodeGen/ppc64-varargs-struct.c4
1 files changed, 4 insertions, 0 deletions
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]+}}
}