llvm::GenericDomTreeUpdater::hasPendingUpdates

Returns true if either DT or PDT has at least one update pending.

Synopsis

Declared in <llvm/Analysis/GenericDomTreeUpdater.h>

bool
hasPendingUpdates() const;

Description

If DT or PDT is nullptr it is treated as having no pending updates. This function does not check whether there is MachineBasicBlock awaiting deletion. Returns false under Eager UpdateStrategy.

Return Value

True if either tree has pending updates.