[PATCH] D61609: [llv] Handle missing debug info when updating sample counts

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 13:32:17 PDT 2019


davidxl added inline comments.


================
Comment at: llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll:3
+; ModuleID = 'temp.bc'
+; This is a test similar to entry_counts_cold.ll. The key differences are:
+; - we want profile-sample-accurate. Normally, that would trigger resetting function entry counts to 0, and then update
----------------
Can you explain exactly what happens that triggers the div by zero? when bar is inlined?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61609





More information about the llvm-commits mailing list