This patch adds the base heuristics for determining whether branches are more profitable than conditional moves.
Base heuristics apply to all code apart from inner-most loops.
Depends on D122259
Differential D120231
[SelectOpti][3/5] Base Heuristics apostolakis on Feb 20 2022, 10:44 PM. Authored by
Details
This patch adds the base heuristics for determining whether branches are more profitable than conditional moves. Depends on D122259
Diff Detail
Event Timeline
Comment Actions Limit the isPredictableSelectExpensive check to only the highly-predictable heuristic. |
add some comments to the methods.