[PATCH] D78310: [ProfileSummary] Add partial profile annotation on IR.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 09:09:55 PDT 2020


yamauchi added inline comments.


================
Comment at: llvm/lib/IR/ProfileSummary.cpp:180
     return nullptr;
+  if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(6)), "IsPartialProfile",
+              IsPartialProfile))
----------------
Does this need to be the 7th operand instead of 6?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78310/new/

https://reviews.llvm.org/D78310





More information about the llvm-commits mailing list