search for: retstruct

Displaying 1 result from an estimated 1 matches for "retstruct".

Did you mean: restruct
2009 Jun 25
1
[LLVMdev] Structure Returns
Hi, In my LLVM IR I am returning a structure from a function but it gave me an assertion failure when I was trying to compile the resulting bitcode. Specifically, I had following function definition define {i32,i32,i32} @func(i32 a) { ..... ret {i32,i32,i32} %retStruct } llc gave me following assertion failure: Return operand#2 has unhandled type i32 in AnalyzeReturn function On digging out from LLVM website, I found "Note that the code generator does not yet fully support large return values. The specific sizes that are currently supported are depende...