[all-commits] [llvm/llvm-project] 0caa4a: [PGO] Support PGO annotation of CallBrInst
xur-llvm via All-commits
all-commits at lists.llvm.org
Thu Sep 1 14:35:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0caa4a9559edcbb4195ce140de0658e46a90b52a
https://github.com/llvm/llvm-project/commit/0caa4a9559edcbb4195ce140de0658e46a90b52a
Author: Rong Xu <xur at google.com>
Date: 2022-09-01 (Thu, 01 Sep 2022)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
A llvm/test/Transforms/PGOProfile/Inputs/callbr.proftext
M llvm/test/Transforms/PGOProfile/callbr.ll
Log Message:
-----------
[PGO] Support PGO annotation of CallBrInst
We currently instrument CallBrInst but do not annotate it with
the branch weight. This patch enables PGO annotation of CallBrInst.
Differential Revision: https://reviews.llvm.org/D133040
More information about the All-commits
mailing list