Hi,
We are planing to improve our current loop detection
algorithm to be able to handle irreducible loops. Such loops
can have multiple entry blocks. For this matter, the original
interface to get the loop head needs to be changed to return a
vector of heads of a loop.
The involved interface is:
BPatch_basicBlock* BPatch_basicBlockLoop::getLoopHead();
We plan to change it to:
bool
BPatch_basicBlockLoop::getLoopHead(std::vector<BPatch_basicBlock*>&
entries);
Let us know if you are using the interface and if the
interface change will cause significant inconvenience to you.
Thanks
--Xiaozhu