r199188 - Puny 24-byte structs are returned by value on SPARC.
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Jan 13 22:19:26 PST 2014
- Previous message: [libcxx] r199184 - Rename libc++ internal templates __is_void, __is_integral, __is_floating_point, __is_pointer, __is_function_imp, __is_function, __is_member_function_pointer, __is_member_pointer, __is_signed_impl, __is_signed, __is_unsigned_impl, __is_unsigned to __libcpp_is_XXX, because some compilers have decided that __is_XXX are keywords. No functionality change.
- Next message: r199189 - This test is passing on SPARC.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stoklund
Date: Tue Jan 14 00:19:26 2014
New Revision: 199188
URL: http://llvm.org/viewvc/llvm-project?rev=199188&view=rev
Log:
Puny 24-byte structs are returned by value on SPARC.
Pad these structs up so they are sret-returned even on that
architecture.
Modified:
cfe/trunk/test/CodeGen/sret.c
cfe/trunk/test/CodeGen/sret2.c
Modified: cfe/trunk/test/CodeGen/sret.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/sret.c?rev=199188&r1=199187&r2=199188&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/sret.c (original)
+++ cfe/trunk/test/CodeGen/sret.c Tue Jan 14 00:19:26 2014
@@ -4,6 +4,8 @@ struct abc {
long a;
long b;
long c;
+ long d;
+ long e;
};
struct abc foo1(void);
Modified: cfe/trunk/test/CodeGen/sret2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/sret2.c?rev=199188&r1=199187&r2=199188&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/sret2.c (original)
+++ cfe/trunk/test/CodeGen/sret2.c Tue Jan 14 00:19:26 2014
@@ -4,6 +4,8 @@ struct abc {
long a;
long b;
long c;
+ long d;
+ long e;
};
struct abc foo2(){}
- Previous message: [libcxx] r199184 - Rename libc++ internal templates __is_void, __is_integral, __is_floating_point, __is_pointer, __is_function_imp, __is_function, __is_member_function_pointer, __is_member_pointer, __is_signed_impl, __is_signed, __is_unsigned_impl, __is_unsigned to __libcpp_is_XXX, because some compilers have decided that __is_XXX are keywords. No functionality change.
- Next message: r199189 - This test is passing on SPARC.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cfe-commits
mailing list