1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/lib/Transforms
Devang Patel cb72d92471 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.

llvm-svn: 47776
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