DominanceFrontier for MachineBB


Any chance you could templatify this so someone can add a MachineRegionInfo later? It would be useful for region based register allocation, etc.



Hi Evan,

ether did once a templated version and I would love to test and commit
it. I just wanted to import an untemplated version of the RegionInfo
pass first, as it was easier to review.

@ether. Do you think you could port your templated version of the
RegionInfo pass to trunk?

RegionInfo need PostDominatorTree and DominanceFrontier, do us have
DominanceFrontier for MachineBB?