[PATCH] D79951: [ProfileSummary] Add the PartialProfileRatio field in ProfileSummary metadata.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 09:41:46 PDT 2020


yamauchi added inline comments.


================
Comment at: llvm/include/llvm/IR/ProfileSummary.h:98
+  void setPartialProfileRatio(double R) {
+    assert(isPartialProfile());
+    PartialProfileRatio = R;
----------------
wmi wrote:
> Ok, better have some message in the assert. 
Done.


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