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-11-24 21:27:20 +00:00
2008-11-05 18:41:15 +00:00
2009-01-01 01:18:23 +00:00
2008-10-27 06:56:35 +00:00
2008-11-04 23:02:39 +00:00