r245679 - Expand mingw-long-double.c to test for long double alignment.
Yaron Keren via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 21 01:26:32 PDT 2015
Author: yrnkrn
Date: Fri Aug 21 03:26:31 2015
New Revision: 245679
URL: http://llvm.org/viewvc/llvm-project?rev=245679&view=rev
Log:
Expand mingw-long-double.c to test for long double alignment.
Added:
cfe/trunk/test/CodeGen/mingw-long-double.c
Removed:
cfe/trunk/test/CodeGen/mingw-long-double-size.c
Removed: cfe/trunk/test/CodeGen/mingw-long-double-size.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mingw-long-double-size.c?rev=245678&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/mingw-long-double-size.c (original)
+++ cfe/trunk/test/CodeGen/mingw-long-double-size.c (removed)
@@ -1,6 +0,0 @@
-// REQUIRES: x86-registered-target
-// RUN: %clang_cc1 -triple i686-pc-windows-gnu -S %s -o - | FileCheck %s -check-prefix=CHECK_I686
-// CHECK_I686: lda,12
-// RUN: %clang_cc1 -triple x86_64-pc-windows-gnu -S %s -o - | FileCheck %s -check-prefix=CHECK_X86_64
-// CHECK_X86_64: lda,16
-long double lda;
Added: cfe/trunk/test/CodeGen/mingw-long-double.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mingw-long-double.c?rev=245679&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/mingw-long-double.c (added)
+++ cfe/trunk/test/CodeGen/mingw-long-double.c Fri Aug 21 03:26:31 2015
@@ -0,0 +1,12 @@
+// REQUIRES: x86-registered-target
+// RUN: %clang_cc1 -triple i686-pc-windows-gnu -S %s -o - | FileCheck %s -check-prefix=CHECK_I686
+// CHECK_I686: _lda,12
+// CHECK_I686: _lds,16
+// RUN: %clang_cc1 -triple x86_64-pc-windows-gnu -S %s -o - | FileCheck %s -check-prefix=CHECK_X86_64
+// CHECK_X86_64: lda,16
+// CHECK_X86_64: lds,32
+long double lda;
+struct {
+ char c;
+ long double ldb;
+} lds;
More information about the cfe-commits
mailing list