mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[IR] Retire unused getGEPReturnType overload. NFCI.
llvm-svn: 285257
This commit is contained in:
parent
e7784c3e65
commit
072144e29f
@ -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)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user