Fix a problem where we had bitcasted operands that gave us
authorEric Christopher <echristo@apple.com>
Sat, 13 Feb 2010 23:38:01 +0000 (23:38 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 13 Feb 2010 23:38:01 +0000 (23:38 +0000)
commit77ffe3b31e32fbbcb06e71c8a68129df6266a492
treebf6f2d2f17063adf9d10b578348cba9aafe3edba
parent18c67b994c1f437aa1b61d60f9eecf62f2762952
Fix a problem where we had bitcasted operands that gave us
odd offsets since the bitcasted pointer size and the offset pointer
size are going to be different types for the GEP vs base object.

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