> Hi. > > There's updated version that supports profile quality for both counts > and probabilities. I'm wondering whether ENTRY and EXIT BBs needs to > have set probability. Apparently, I haven't seen any verifier that > would complain.
Well, you do not need to define it but then several cases will degenerate. In particular BB frequencies (for callgraph profile or hot/cold decisions) are calculated as ratios of entry BB and given BB count. If entry BB is undefined you will get those undefined and heuristics will resort to conservative answers. I do not think we use exit block count. Honza