Nick Lewycky 6b05686283 Make adding nocapture a bit stronger. FreeInst is nocapture. Also,
functions that don't write can't leak a pointer except through 
the return value, so a void readonly function is implicitly nocapture.

Test these, and add a test that verifies that f1 calling f2 with an 
otherwise dead pointer gets both of them marked nocapture.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61552 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-02 03:46:56 +00:00
..
2008-12-19 22:28:23 +00:00
2008-12-27 08:10:46 +00:00
2008-11-26 02:21:12 +00:00
2008-12-21 07:47:49 +00:00
2008-11-15 17:50:47 +00:00