[llvm-branch-commits] [llvm] ddb002d - [InstCombine] Remove replacePointer (NFC)
Kazu Hirata via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Dec 6 10:29:11 PST 2020
Author: Kazu Hirata
Date: 2020-12-06T10:24:08-08:00
New Revision: ddb002d7c74c038b64dd9d3c3e4a4b58795cf1a6
URL: https://github.com/llvm/llvm-project/commit/ddb002d7c74c038b64dd9d3c3e4a4b58795cf1a6
DIFF: https://github.com/llvm/llvm-project/commit/ddb002d7c74c038b64dd9d3c3e4a4b58795cf1a6.diff
LOG: [InstCombine] Remove replacePointer (NFC)
The declaration was introduced on Feb 10, 2017 in commit
ba01ed00fef32c48d8e2787a6feaf33568a80bfe without a corresponding
definition.
Added:
Modified:
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
Removed:
################################################################################
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
diff erent address space.
- /// \return true if successful.
- bool replacePointer(Instruction &I, Value *V);
-
LoadInst *combineLoadToNewType(LoadInst &LI, Type *NewTy,
const Twine &Suffix = "");
More information about the llvm-branch-commits
mailing list