Re-commit 97860 with fix. getMallocAllocatedType may return null.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 8 Mar 2010 22:54:36 +0000 (22:54 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 8 Mar 2010 22:54:36 +0000 (22:54 +0000)
commit687fed3530366b03a9a6433df0c032247ab17d5b
treea8ecdecd2b4058059c79a46d1b59386d8e42880d
parentdd8187a3e9509c670162b6ae8b7115723a37f01c
Re-commit 97860 with fix. getMallocAllocatedType may return null.

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