Files
clang-p2996/llvm/lib/Transforms/IPO/ModuleInliner.cpp
Mircea Trofin c8365feed7 [ctx_prof] Simple ICP criteria during module inliner (#109881)
This is mostly for test: under contextual profiling, we perform ICP for those indirect callsites which have targets marked as `alwaysinline`.

This helped uncover a bug with the way the profile was updated upon ICP, where we were skipping over the update if the target wasn't called in that context. That was resulting in incorrect counts for the indirect BB.

Also flyby fix to the total/direct count values, they should be 64-bit (as all counters are in the contextual profile)
2024-09-25 15:05:52 -07:00

13 KiB