Puny 24-byte structs are returned by value on SPARC.

Pad these structs up so they are sret-returned even on that
architecture.

llvm-svn: 199188
This commit is contained in:
Jakob Stoklund Olesen 2014-01-14 06:19:26 +00:00
parent b6b35a4955
commit 6e1aaf27c1
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@ struct abc {
long a;
long b;
long c;
long d;
long e;
};
struct abc foo1(void);

View File

@ -4,6 +4,8 @@ struct abc {
long a;
long b;
long c;
long d;
long e;
};
struct abc foo2(){}