[IR] Retire unused getGEPReturnType overload. NFCI.

llvm-svn: 285257
This commit is contained in:
Davide Italiano 2016-10-26 23:46:16 +00:00
parent 7527752353
commit 48ef6ca0c3
1 changed files with 0 additions and 5 deletions

View File

@ -959,11 +959,6 @@ public:
/// Returns the pointer type returned by the GEP
/// instruction, which may be a vector of pointers.
static Type *getGEPReturnType(Value *Ptr, ArrayRef<Value *> IdxList) {
return getGEPReturnType(
cast<PointerType>(Ptr->getType()->getScalarType())->getElementType(),
Ptr, IdxList);
}
static Type *getGEPReturnType(Type *ElTy, Value *Ptr,
ArrayRef<Value *> IdxList) {
Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),