[PATCH] D154637: [SamplePGO] Fix ICE that callee samples returns null while finding import functions

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 12:15:21 PDT 2023


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

1. change to simply return(not add to the import list)
2. update the comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154637

Files:
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/Transforms/SampleProfile/Inputs/csspgo-import-list-callee-samples.prof
  llvm/test/Transforms/SampleProfile/csspgo-import-list-callee-samples.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154637.538225.patch
Type: text/x-patch
Size: 9776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230707/21e8ff42/attachment.bin>


More information about the llvm-commits mailing list