[llvm-dev] SRET consistency between declaration and call site

Jonas Maebe via llvm-dev
Wed, 07 Oct 2015 08:28:59 -0000

James Y Knight via llvm-dev wrote on Tue, 06 Oct 2015:

> Certainly a mismatch between sret and not-sret from caller to callee
> could not possibly work on sparc, because sparc's calling convention
> for struct return is totally bonkers.

It won't work on AArch64 either: it uses a fixed register to pass
struct return addresses, which is not used for other parameters under
any circumstances.


Jonas