[PATCH] D112672: [llvm-profgen] Infer total samples by accumulating all its body samples

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 21:42:34 PDT 2021


wlei updated this revision to Diff 382910.
wlei added a comment.

clean up all the redundant "addTotalSamples"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112672

Files:
  llvm/include/llvm/ProfileData/SampleProf.h
  llvm/test/tools/llvm-profgen/coroutine.test
  llvm/test/tools/llvm-profgen/cs-interrupt.test
  llvm/test/tools/llvm-profgen/cs-preinline.test
  llvm/test/tools/llvm-profgen/fname-canonicalization.test
  llvm/test/tools/llvm-profgen/func-split.test
  llvm/test/tools/llvm-profgen/inline-cs-noprobe.test
  llvm/test/tools/llvm-profgen/inline-force-dwarf.test
  llvm/test/tools/llvm-profgen/inline-noprobe.test
  llvm/test/tools/llvm-profgen/inline-noprobe2.test
  llvm/test/tools/llvm-profgen/multi-load-segs.test
  llvm/test/tools/llvm-profgen/noinline-cs-noprobe.test
  llvm/test/tools/llvm-profgen/noinline-noprobe.test
  llvm/test/tools/llvm-profgen/recursion-compression-noprobe.test
  llvm/tools/llvm-profgen/ProfileGenerator.cpp
  llvm/tools/llvm-profgen/ProfileGenerator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112672.382910.patch
Type: text/x-patch
Size: 20332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211028/de1d7d9a/attachment.bin>


More information about the llvm-commits mailing list