[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)
commitd0a2482870218dce13c629f5acce96d8dafffcfd
tree0cabe6cbcc64a933f97edbd1a90c8f517bfc027d
parentcc2cd581cf2fb650296b63344ffb7e205027e308
[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?).

llvm-svn: 235236
llvm/include/llvm/IR/Instructions.h
llvm/lib/IR/Verifier.cpp