Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The function PhaseCFG::Estimate_Block_Frequency computes blocks frequencies based on IfNode (and other) probabilities. Currenntly, the function stops after two passes, and allows inconsistencies in loops of nesting depths of greater than one, among other places. Both GCM and Block:is_uncommon() rely on the relative frequencies of blocks in order to make cost/benefit choices in their respective optimizations. This bug calls for consistency in the estimated frequencies, such that the relative frequencies between two blocks be sane, e.g., frequencies inside a loop be greater than that of the loop head.
|