[PATCH] D30631: [BPI] Use metadata info before any other heuristics

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 23:40:36 PST 2017


vsk added a comment.

Thanks for explaining. It looks like PostDominatedByUnreachable needs to be updated every time we visit a BB. I think we should factor out the logic that updates PostDominatedByUnreachable, and make sure that the update happens every time a BB is visited, unconditionally. You could save some of the computations and forward them to calcUnreachableHeuristics, no need to overwrite any edge probabilities.


https://reviews.llvm.org/D30631





More information about the llvm-commits mailing list