<div dir="ltr"><div>Dear all,</div><div><br></div><div>There are a bunch of heuristics with different weights for <i>taken</i> and <i>not taken</i> cases in BranchProbabilityInfo.cpp file. Is there any documentation available, explaining how such weights are arrived at? <br></div><div><br></div><div>Also, is it of interest to improve the heuristics? For example, in the case of loop branch heuristic, it may be helpful to consider trip count for calculating the weights. Similarly, other heuristics can be improved.</div><div><br></div><div>Thanks,</div><div>Venkat<br></div></div>