[PATCH] D95009: [llvm-profgen][NFC] Fix the incorrect computation of callsite sample count

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 16:56:58 PST 2021


hoy added inline comments.


================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:278
+                                  uint64_t Count) {
+  if (LeafLoc.second.LineOffset & 0x80000000)
+    return;
----------------
What is this check?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95009



More information about the llvm-commits mailing list