[PATCH] D79951: [ProfileSummary] Add the PartialProfileRatio field in ProfileSummary metadata.
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 14:18:43 PDT 2020
wmi added inline comments.
================
Comment at: llvm/include/llvm/IR/ProfileSummary.h:98
+ void setPartialProfileRatio(double R) {
+ assert(isPartialProfile());
+ PartialProfileRatio = R;
----------------
Ok, better have some message in the assert.
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