diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h index e1a9e7515df04..6468e406c5277 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h +++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h @@ -182,11 +182,6 @@ class LLVM_LIBRARY_VISIBILITY InstCombinerImpl final bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp, const unsigned SIOpd); - /// Try to replace instruction \p I with value \p V which are pointers - /// in different address space. - /// \return true if successful. - bool replacePointer(Instruction &I, Value *V); - LoadInst *combineLoadToNewType(LoadInst &LI, Type *NewTy, const Twine &Suffix = "");