diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-24 04:35:36 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-24 04:35:36 +0000 |
commit | dd1d3df524f45d0f26274c4e777ebd01419ced67 (patch) | |
tree | 942dcb18ce323312e2122ac3774ae749d1147efc /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 9d28c26d77af460bec980ebcbc0e9ca13ad65f4a (diff) | |
download | bcm5719-llvm-dd1d3df524f45d0f26274c4e777ebd01419ced67.tar.gz bcm5719-llvm-dd1d3df524f45d0f26274c4e777ebd01419ced67.zip |
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.
llvm-svn: 142787
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions