ΒΆvoid patchReplacementInstruction(
    llvm::Instruction* I,
    llvm::Value* Repl)

Description

Patch the replacement so that it is not more restrictive than the value being replaced. It assumes that the replacement does not get moved from its original position.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:446

Parameters

llvm::Instruction* I
llvm::Value* Repl