Displaying 2 results from an estimated 2 matches for "2824d0a6".
Did you mean:
22d0a6
2018 Mar 28
0
arm tailcall with many parameters?
...can be multiple exits of a function -- tailcalls of varying signatures and non-tailcalls.
I don't think that breaks the idea.
Thank you,
- Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180328/2824d0a6/attachment-0001.html>
2018 Mar 28
2
arm tailcall with many parameters?
typedef struct vtable_t {
int (*pf4)(int a, int b, int c, int d);
int (*pf5)(int a, int b, int c, int d, int e);
} vtable_t;
int f1(int (*pf4)(int a, int b, int c, int d))
{
return pf4(1, 2, 3, 4);
}
int f2(vtable_t *vt)
{
return vt->pf4(1, 2, 3, 4);
}
gcc and clang will not tailcall these on arm with -O3.
int f3(int (*pf5)(int a, int b, int c, int d, int e))
{
return pf5(1, 2, 3,