Move the object size intrinsic optimization to inst-combine and make
authorEric Christopher <echristo@apple.com>
Wed, 6 Jan 2010 20:04:44 +0000 (20:04 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 6 Jan 2010 20:04:44 +0000 (20:04 +0000)
commit130063207de67ecb36e5c80b9118f3c0817fbc6f
treebd57d876dc4d15f6b61bf5e6ee2e8261ab78e632
parent54eb4c2991796c3014e831fc07e4a6c0a3df10f0
Move the object size intrinsic optimization to inst-combine and make
it work for any integer size return type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92853 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp