InstCombine: If we call llvm.objectsize on a malloc call we can replace it with the...
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 6 Jan 2011 13:11:05 +0000 (13:11 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 6 Jan 2011 13:11:05 +0000 (13:11 +0000)
commit240d42d18559a1f75558951ada556baaf289c7f0
treeb9fca9b40ab24d9627e20e4ea40a95c497ff4378
parent783a5c2b695015a5a2dfc48ee28b9936d0077542
InstCombine: If we call llvm.objectsize on a malloc call we can replace it with the size passed to malloc.

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