[PATCH] D134203: [PGO] Avoid assertion on degenerate profile

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 11:06:39 PDT 2022


wolfgangp updated this revision to Diff 464330.
wolfgangp added a comment.

Sorry about the delay. Thank you for your test case, I have used it instead of the original one and added a warning.
Please check if the wording describes the issue reasonably correctly and succinctly, as the circumstances are somewhat arcane.


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

https://reviews.llvm.org/D134203

Files:
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  llvm/test/Transforms/PGOProfile/Inputs/maxcountzero.proftext
  llvm/test/Transforms/PGOProfile/maxcountzero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134203.464330.patch
Type: text/x-patch
Size: 3520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220930/f3753cde/attachment.bin>


More information about the llvm-commits mailing list