1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/Transforms
Owen Anderson 7b092ea631 Add support to GVN for performing sret return slot optimization. This means that, if an sret function tail calls
another sret function, it should pass its own sret parameter to the tail callee, allowing it to fill in the correct
return value.  llvm-gcc does not emit this by default.  Instead, it allocates space in the caller for the sret of
the tail call and then uses memcpy to copy the result into the caller's sret parameter.  This optimization detects
and optimizes that case.

llvm-svn: 47265
2008-02-18 09:24:53 +00:00
..
Hello Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Instrumentation Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
IPO Remove any 'nest' parameter attributes if the function 2008-02-16 20:56:04 +00:00
Scalar Add support to GVN for performing sret return slot optimization. This means that, if an sret function tail calls 2008-02-18 09:24:53 +00:00
Utils switch simplifycfg from using vectors for most things to smallvectors, 2008-02-18 07:42:56 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00