Hi, guys,

     what is the interface for finding the immediate dominator of a machine basic block in LLVM 2.1? I found some methods to check if a node dominates other in llvm::MachineDominatorTree, but I was looking for something like:
MachineBasicBlock * mbb = ...
MachineBasicBlock * iDom = XXX->getImmediateDominator(mbb);

is there something similar?



Hi Fernando,

The MachineDominator and MachineLoopInfo classes are new to SVN head. Please try that instead of LLVM 2.1