[PATCH] D15540: [PGO] differentiate FE instrumentation and IR level instrumentation profiles

David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 20:21:09 PST 2016


davidxl added inline comments.

================
Comment at: lib/ProfileData/InstrProfWriter.cpp:182
@@ +181,3 @@
+  if (ProfileKind != PF_IRLevel) {
+    if (Dest.Counts[0] > MaxFunctionCount)
+      MaxFunctionCount = Dest.Counts[0];
----------------
MaxFunctionCount field is now removed (replaced by profileSummary) -- so this change can now be removed.


http://reviews.llvm.org/D15540





More information about the llvm-commits mailing list