[PATCH] D49460: Flush counters before forking to avoid counting the execution before fork twice

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 11:58:02 PDT 2018


davidxl added a comment.

One of the real issues is that func1, fork, and func2 are in the same BB and share the same profile counter. The BB ending with fork should be split so that func2 's block has its own counter.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D49460





More information about the llvm-commits mailing list