llvm-6502/lib/Transforms
Owen Anderson 5aa4f2a085 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47265 91177308-0d34-0410-b5e6-96231b3b80d8
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