[PATCH] D45653: [X86] Enable sibling-call optimization for functions returning structs
Ivan Sorokin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 06:18:35 PDT 2018
sorokin added a comment.
I made a C++ example for all 4 cases: sret/ptr function calls sret/ptr function.
Here is the link: https://godbolt.org/g/FxUYvv
I don't know if it is possible to make a ptr to sret function in pure C. I did this only in C++.
https://reviews.llvm.org/D45653
More information about the llvm-commits
mailing list