Revert the change from r51157 in
authorDan Gohman <gohman@apple.com>
Fri, 16 May 2008 00:16:32 +0000 (00:16 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 16 May 2008 00:16:32 +0000 (00:16 +0000)
commiteedff319dc24652431cafc9df8ff84d26f9cdc9d
treea7901b76d7f8d1549cc9559a68130f56081443bb
parente2d896fab3c9655bc7b21e62029195cb3f036d5c
Revert the change from r51157 in
test/Verifier/2002-11-05-GetelementptrPointers.ll, which was incorrect.
Instead, fix getIndexedType to not follow pointer types, as
PointerType is a subclass of CompositeType.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Instructions.cpp
test/Verifier/2002-11-05-GetelementptrPointers.ll