ΒΆbool RecursivelyDeleteTriviallyDeadInstructions(
    llvm::Value* V,
    const llvm::TargetLibraryInfo* TLI = nullptr,
    llvm::MemorySSAUpdater* MSSAU = nullptr)

Description

If the specified value is a trivially dead instruction, delete it. If that makes any of its operands trivially dead, delete them too, recursively. Return true if any instructions were deleted.

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

Parameters

llvm::Value* V
const llvm::TargetLibraryInfo* TLI = nullptr
llvm::MemorySSAUpdater* MSSAU = nullptr