remove calls to calloc if the allocated memory is not used (it was already being...
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 3 May 2012 22:08:19 +0000 (22:08 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 3 May 2012 22:08:19 +0000 (22:08 +0000)
commitcb348b9b45025393ec5b28eac8bb6773a9b603f6
tree74049a21e8b92bf60a169e917a10f934361363cc
parent26f61a158b3cce69252c05cc0e79f500d6c3d92e
remove calls to calloc if the allocated memory is not used (it was already being done for malloc)
fix a few typos found by Chad in my previous commit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156110 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryBuiltins.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/objsize.ll