[PATCH] D79485: [BPI] Improve static heuristics for "cold" paths.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 09:18:35 PDT 2020


davidxl added a comment.

This patch is a little large to review properly. Is there any major refactoring (NFC or mostly NFC) that can be separated out?



================
Comment at: llvm/lib/Analysis/BranchProbabilityInfo.cpp:126
+/// with attribute 'cold'.
+static const uint32_t COLD_WEIGHT = 0xffff;
+
----------------
why is it set to 0xffff?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79485/new/

https://reviews.llvm.org/D79485





More information about the llvm-commits mailing list