Skip to content

Commit

Permalink
[InstCombine] Remove replacePointer (NFC)
Browse files Browse the repository at this point in the history
The declaration was introduced on Feb 10, 2017 in commit
ba01ed0 without a corresponding
definition.
  • Loading branch information
kazutakahirata committed Dec 6, 2020
1 parent 68de75e commit ddb002d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions llvm/lib/Transforms/InstCombine/InstCombineInternal.h
Expand Up @@ -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 = "");

Expand Down

0 comments on commit ddb002d

Please sign in to comment.