[PATCH] D110864: [llvm-profgen] Update test case to check branch count against outline function

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 1 17:51:39 PDT 2021


wlei updated this revision to Diff 376656.
wlei retitled this revision from "[llvm-profgen] Ignore branch count against outline function" to "[llvm-profgen] Update test case to check branch count against outline function".
wlei edited the summary of this revision.
wlei added a comment.

Remove the related code to check outlined function,.

If it's an outlined function with suffixes, currently we only generate a zero total count and non-zero head count  FunctionSample like "foo.cold:0:100".

If the outlined function is generated before the SampleLoader, the compiler will consume it, otherwise it will ignore it.


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

https://reviews.llvm.org/D110864

Files:
  llvm/test/tools/llvm-profgen/Inputs/coroutine.perfbin
  llvm/test/tools/llvm-profgen/Inputs/coroutine.perfscript
  llvm/test/tools/llvm-profgen/Inputs/func-split.perfbin
  llvm/test/tools/llvm-profgen/Inputs/func-split.perfscript
  llvm/test/tools/llvm-profgen/coroutine.test
  llvm/test/tools/llvm-profgen/func-split.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110864.376656.patch
Type: text/x-patch
Size: 7554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211002/044f5be7/attachment.bin>


More information about the llvm-commits mailing list