Venkata Keerthy S via llvm-dev
2019-Oct-19 18:34 UTC
[llvm-dev] Heuristics of BranchProbabilityInfo
Dear all, There are a bunch of heuristics with different weights for *taken* and *not taken* cases in BranchProbabilityInfo.cpp file. Is there any documentation available, explaining how such weights are arrived at? 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. Thanks, Venkat -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191020/e9a9d9f0/attachment.html>