ΒΆbool EliminateDuplicatePHINodes(
    llvm::BasicBlock* BB)

Description

Check for and eliminate duplicate PHI nodes in this block. This doesn't try to be clever about PHI nodes which differ only in the order of the incoming values, but instcombine orders them so it usually won't matter.

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

Parameters

llvm::BasicBlock* BB