[PATCH] D82123: [PGO] Add a functionality to always instrument the func entry BB

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 13:39:02 PDT 2020


xur created this revision.
xur added reviewers: wmi, davidxl.
Herald added subscribers: jfb, hiraditya.
Herald added a project: LLVM.

Add an option to always instrument function entry BB (default off)
Add an options to do atomic update the first counter in each instrumented function.


https://reviews.llvm.org/D82123

Files:
  llvm/lib/Transforms/Instrumentation/CFGMST.h
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Transforms/PGOProfile/instr_entry_bb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82123.271825.patch
Type: text/x-patch
Size: 5936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/99d8b1cb/attachment-0001.bin>


More information about the llvm-commits mailing list