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(){}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to