[llvm-commits] [PATCH] At beginning of SelectionDAGISel::LowerArguments, see if return values can be lowered to registers

Kenneth Uildriks kennethuil at gmail.com
Thu Nov 5 09:51:17 PST 2009


Right now, it simply asserts if the return values cannot be lowered.
I'm working on code that will perform an sret-demotion on function
definitions and function calls if the return values cannot be lowered
to registers; this will allow arbitrary-sized struct returns to get
through codegen without crashing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: needs-sret-demote.patch
Type: application/octet-stream
Size: 7779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091105/c60e102c/attachment.obj>


More information about the llvm-commits mailing list