[LLVMdev] Shadow returns

Andrew Lenharth andrewl at lenharth.org
Sun May 16 21:22:39 PDT 2010


I need to return i128 and f128 via a ptr passed in as the first
argument to a function.  I am not seeing something in llvm-abi.h to
let me do this.  How do I make a scalar (not an aggregate) use a
shadow return?  Similarly I need to pass those types by pointer,
(byval arguments?) and don't see an obvious way to do that.

Thanks

Andrew



More information about the llvm-dev mailing list