For CS profile, the callsite count of previously inlined callees is populated with the entry count of the callees. Therefore when trying to get a weight for calliste probe after inlinining, the callsite count should always be used. The same fix has already been made for non-probe case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/IPO/SampleProfile.cpp | ||
---|---|---|
527 | nit: format the comment to be consistent with the probe version. |
nit: format the comment to be consistent with the probe version.