summaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2012-03-13 19:20:17 +0000
committerRoman Divacky <rdivacky@freebsd.org>2012-03-13 19:20:17 +0000
commitefe9c0dffc174d92c255e1ec77f791ef007102dc (patch)
tree485e192b87a707c79f0db39357cd887872e12378 /test/CodeGen
parent00b43848e4a320b0845c1004694fa50920096c75 (diff)
Fix the long double to be of width/align 64. Rename va_list_test to
powerpc_types and add testing for the (long) double there. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/powerpc_types.c (renamed from test/CodeGen/va_list_test.c)4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/va_list_test.c b/test/CodeGen/powerpc_types.c
index 74f7837d2d..b7d0f5de49 100644
--- a/test/CodeGen/va_list_test.c
+++ b/test/CodeGen/powerpc_types.c
@@ -4,3 +4,7 @@
int va_list_size = sizeof(va_list);
// SVR4-CHECK: va_list_size = global i32 12, align 4
+int long_double_size = sizeof(long double);
+// SVR4-CHECK: long_double_size = global i32 8, align 4
+int double_size = sizeof(double);
+// SVR4-CHECK: double_size = global i32 8, align 4