[PATCH] D79951: [ProfileSummary] Add the PartialProfileRatio field in ProfileSummary metadata.
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 18 11:55:45 PDT 2020
wmi added inline comments.
================
Comment at: llvm/include/llvm/IR/ProfileSummary.h:95-96
bool isPartialProfile() { return Partial; }
+ double getPartialProfileRatio() { return PartialProfileRatio; }
+ void setPartialProfileRatio(double R) { PartialProfileRatio = R; }
void printSummary(raw_ostream &OS);
----------------
Can we add an assertion that Partial is true for getter and setter of PartialProfileRatio?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79951/new/
https://reviews.llvm.org/D79951
More information about the llvm-commits
mailing list