We currently instrument CallBrInst but do not annotate it with the branch weight. This patch enables PGO annotation of CallBrInst.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D133040
[PGO] Support PGO annotation of CallBrInst ClosedPublic Authored by xur on Aug 31 2022, 11:54 AM.
Details
Summary We currently instrument CallBrInst but do not annotate it with the branch weight. This patch enables PGO annotation of CallBrInst.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 31 2022, 12:12 PM This revision was landed with ongoing or failed builds.Sep 1 2022, 2:34 PM Closed by commit rG0caa4a9559ed: [PGO] Support PGO annotation of CallBrInst (authored by xur). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 457409 llvm/lib/Analysis/BranchProbabilityInfo.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/test/Transforms/PGOProfile/Inputs/callbr.proftext
llvm/test/Transforms/PGOProfile/callbr.ll
|