[opaque pointer type] Access the pointee of the result type from the GEP rather than...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 17 Apr 2015 22:32:20 +0000 (22:32 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 17 Apr 2015 22:32:20 +0000 (22:32 +0000)
commit4ba5d91a08249edc55c521f1c94ced9062e6cb58
treee16d978906caf5d869c54de15aabb5703ad5fae6
parent1b44f585f970eda9098e9c386d956ce2f962d6c7
[opaque pointer type] Access the pointee of the result type from the GEP rather than pulling it out of the pointer result type

The implementation of this GEP::getResultElementType will be refactored
to either rely on a member variable, or recompute the value from the
indicies (any preferences?).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235236 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h
lib/IR/Verifier.cpp