Instcombine should turn llvm.objectsize of a alloca with static size to an integer.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Mar 2010 20:47:23 +0000 (20:47 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Mar 2010 20:47:23 +0000 (20:47 +0000)
commita862326bc72be147d9f668b84b9187258e690dc4
tree28c3ac9aa431703b6851ff32efcedc39371e9cd0
parent10718492c8096bc6779515ef47216715fb749fca
Instcombine should turn llvm.objectsize of a alloca with static size to an integer.

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