[LLVMdev] Plans considering first class structs and multiple return values

Florian Weimer fw at deneb.enyo.de
Fri Jul 4 10:51:51 PDT 2008


* Duncan Sands:

> right, there's an ABI difference.  Also you can't return variable sized structs
> using MRV support (I don't know if gcc really supports this, but some pieces of
> code inside gcc mention functions returning variable sized objects).

At one point, the MIPS back end supported returning variably-sized
structs with an elevated stack pointer (the goal was to remove the need
for Ada's secondary stack), but that has been removed since then.



More information about the llvm-dev mailing list