This patch read the indirect call value records in the profile and make the annotation in the indirectcall instructions. This is for IR level instrumentation.
Thanks,
-Rong
Paths
| Differential D16935
[PGO] Indirect-call profile annotation in IR level ClosedPublic Authored by xur on Feb 5 2016, 2:41 PM.
Details Summary This patch read the indirect call value records in the profile and make the annotation in the indirectcall instructions. This is for IR level instrumentation. Thanks, -Rong
Diff Detail
Event Timelinexur updated this object. Comment Actions Looks fine to me except a naming nit.
xur edited edge metadata. xur marked 2 inline comments as done. Comment ActionsIntegrated with Betul and David's review comments. Thanks, -Rong This revision is now accepted and ready to land.Feb 9 2016, 3:44 PM Closed by commit rL260400: [PGO] Indirect-call profile annotation in IR level profiling (authored by xur). · Explain WhyFeb 10 2016, 10:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 47483 llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/trunk/test/Transforms/PGOProfile/Inputs/indirect_call.proftext
llvm/trunk/test/Transforms/PGOProfile/indirect_call_annotation.ll
|