1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/Transforms
Cameron Zwarich 7fd94ea393 Only convert allocas to scalars if it is profitable. The profitability metric I
chose is having a non-memcpy/memset use and being larger than any native integer
type. Originally I chose having an access of a size smaller than the total size
of the alloca, but this caused some minor issues on the spirit benchmark where
SRoA runs again after some inlining.

This fixes <rdar://problem/8613163>.

llvm-svn: 127718
2011-03-16 00:13:44 +00:00
..
Hello Since the Hello pass is built as a loadable dynamic library, don't try to convert it to new-style registration yet. 2010-10-07 00:31:16 +00:00
InstCombine If we don't know how long a string is we can't fold an _chk version to the 2011-03-15 00:25:41 +00:00
Instrumentation Implementation of path profiling. 2011-01-29 01:09:53 +00:00
IPO These llvm.dbg.* constants are not used anymore. 2011-03-09 19:41:33 +00:00
Scalar Only convert allocas to scalars if it is profitable. The profitability metric I 2011-03-16 00:13:44 +00:00
Utils Clean up something noticed by Fritz. 2011-03-15 18:42:33 +00:00
CMakeLists.txt Move library stuff out of the toplevel CMakeLists.txt file. 2011-02-18 22:06:14 +00:00
Makefile Revert r100896 and around - this breaks the only mingw32 buildbot we have. 2010-04-15 19:51:42 +00:00