llvm-6502/lib/Transforms
Devang Patel ca891ecf91 Add pass to promote sret.
This pass transforms 

  %struct._Point = type { i32, i32, i32, i32, i32, i32 }
  define internal void @foo(%struct._Point* sret  %agg.result)

into

  %struct._Point = type { i32, i32, i32, i32, i32, i32 }
  define internal %struct._Point @foo()

This pass updates foo() clients appropriately to use
getresult instruction to extract return values.

This pass is not yet ready for prime time.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47776 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-29 23:34:08 +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 Add pass to promote sret. 2008-02-29 23:34:08 +00:00
Scalar fix a bug Anders ran into where scalarrepl would crash when promoting 2008-02-29 07:12:06 +00:00
Utils Fix newly-introduced 4.3 warnings 2008-02-20 12:07:57 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00