[llvm-commits] sret-demotion for large struct returns working on x86!

Kenneth Uildriks kennethuil at gmail.com
Mon Nov 9 18:42:39 PST 2009


Here's the updated version of the patch:

1. Moved the flag and demote register from MachineFunction to
FunctionLoweringInfo
2. Inverted CantLowerReturn to CanLowerReturn while carrying out #1
3. Now passing the return Attributes to getReturnInfo and using its
ZExt and SExt flags properly.
4. Cleaned up braces.

New testcase coming as soon as I figure out how to get svn diff or
mkpatch to pick up a brand-new file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sret-demote.patch
Type: text/x-patch
Size: 16183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091109/9bd1fa87/attachment.bin>


More information about the llvm-commits mailing list