[PATCH] D85781: [BPI] Improve static heuristics for integer comparisons
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 22:22:45 PDT 2020
davidxl added inline comments.
================
Comment at: llvm/lib/Analysis/BranchProbabilityInfo.cpp:876
+ BranchProbability TakenProb(ZH_TAKEN_WEIGHT,
+ ZH_TAKEN_WEIGHT + ZH_NONTAKEN_WEIGHT);
----------------
Perhaps change ZH_TAKEN_WEIGHT to IH_TAKEN_WEIGHT. Similarly for ZH_NONTAKEN_WEIGHT
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85781/new/
https://reviews.llvm.org/D85781
More information about the llvm-commits
mailing list