[cfe-commits] r166812 - /cfe/trunk/test/CodeGen/ppc64-varargs-struct.c

Bill Schmidt wschmidt at linux.vnet.ibm.com
Fri Oct 26 13:34:52 PDT 2012


Author: wschmidt
Date: Fri Oct 26 15:34:52 2012
New Revision: 166812

URL: http://llvm.org/viewvc/llvm-project?rev=166812&view=rev
Log:
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.

Modified:
    cfe/trunk/test/CodeGen/ppc64-varargs-struct.c

Modified: cfe/trunk/test/CodeGen/ppc64-varargs-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ppc64-varargs-struct.c?rev=166812&r1=166811&r2=166812&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ppc64-varargs-struct.c (original)
+++ cfe/trunk/test/CodeGen/ppc64-varargs-struct.c Fri Oct 26 15:34:52 2012
@@ -23,4 +23,8 @@
 // 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]+}}
 }





More information about the cfe-commits mailing list