Unlike the other instructions, GEP really does need to look at the type of a
authorNick Lewycky <nicholas@mxc.ca>
Sat, 13 Jun 2009 19:09:52 +0000 (19:09 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 13 Jun 2009 19:09:52 +0000 (19:09 +0000)
commita142c9302b690cda799737d78ec29414e3b47fc8
treedac13aa620db1b1db82606d9f9f2f6d63eabaae3
parentdcb6da3efdfeb007ce222192f3af00736133682d
Unlike the other instructions, GEP really does need to look at the type of a
pointer. This fixes kimwitu++. Pointed out by Frits van Bommel on review!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp