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

Jonas Maebe via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 7 01:28:59 PDT 2015

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.


More information about the llvm-dev mailing list