1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Transforms
Nick Lewycky 5616407df7 Move the libcall annotating part from doFinalization to doInitialization.
Finalization occurs after all the FunctionPasses in the group have run, which
is clearly not what we want.

This also means that we have to make sure that we apply the right param 
attributes when creating a new function.

Also, add a missed optimization: strdup and strndup. NoCapture and 
NoAlias return!

llvm-svn: 61658
2009-01-05 00:07:50 +00:00
..
Hello Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
Instrumentation Use Function::getEntryBlock() instead of Function::front(), for clarity. 2008-10-21 03:10:28 +00:00
IPO Any void readonly functions are provably dead, don't waste time adding 2009-01-03 17:05:32 +00:00
Scalar Move the libcall annotating part from doFinalization to doInitialization. 2009-01-05 00:07:50 +00:00
Utils Fix PR2929 by making bugpoint/code extract propagate the nothrow 2008-12-18 05:52:56 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00