[all-commits] [llvm/llvm-project] b5c59d: [ProfileSummary] Add the PartialProfileRatio field...
hjyamauchi via All-commits
all-commits at lists.llvm.org
Thu May 21 09:29:30 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b5c59d77c3a0aad21d7dccfa2c3989e627e9f1bd
https://github.com/llvm/llvm-project/commit/b5c59d77c3a0aad21d7dccfa2c3989e627e9f1bd
Author: Hiroshi Yamauchi <yamauchi at google.com>
Date: 2020-05-21 (Thu, 21 May 2020)
Changed paths:
M llvm/include/llvm/IR/ProfileSummary.h
M llvm/lib/IR/ProfileSummary.cpp
M llvm/test/Transforms/PGOProfile/unreachable_bb.ll
M llvm/unittests/ProfileData/SampleProfTest.cpp
Log Message:
-----------
[ProfileSummary] Add the PartialProfileRatio field in ProfileSummary metadata.
Summary:
PartialProfileRatio approximately represents the ratio of the number of profile
counters of the program being built to the number of profile counters in the
partial sample profile. It is used to scale the working set size under the
partial sample profile to reflect the size of the program being built and to
improve the working set size heuristics.
This is a split from D79831.
Reviewers: davidxl
Subscribers: eraman, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79951
More information about the All-commits
mailing list