commit | 4a3935c27e5315081844a5b7ae1f7097efc234b0 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Mon Oct 24 04:35:36 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Mon Oct 24 04:35:36 2011 +0000 |
tree | bd93a740307c16b7db5f271285a4db383425a2b0 | |
parent | 38af3d5a8dbcada6f264d3a268f525a827adaca2 [diff] |
A dead malloc, a free(NULL) and a free(undef) are all trivially dead instructions. This doesn't introduce any optimizations we weren't doing before (except potentially due to pass ordering issues), now passes will eliminate them sooner as part of their own cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142787 91177308-0d34-0410-b5e6-96231b3b80d8