ΒΆbool isInstructionTriviallyDead(
    llvm::Instruction* I,
    const llvm::TargetLibraryInfo* TLI = nullptr)
bool isInstructionTriviallyDead(
    llvm::Instruction* I,
    const llvm::TargetLibraryInfo* TLI = nullptr)Description
Return true if the result produced by the instruction is not used, and the instruction has no side effects.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:131
Parameters
- llvm::Instruction* I
- const llvm::TargetLibraryInfo* TLI = nullptr