[all-commits] [llvm/llvm-project] 10b57c: [ProfileSummary] Add partial profile annotation on...

wmi-11 via All-commits all-commits at lists.llvm.org
Mon Apr 27 08:35:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 10b57ca6900f9608b523b1a3c12d3cf1a3e6e158
      https://github.com/llvm/llvm-project/commit/10b57ca6900f9608b523b1a3c12d3cf1a3e6e158
  Author: Wei Mi <wmi at google.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/include/llvm/IR/ProfileSummary.h
    M llvm/lib/IR/ProfileSummary.cpp
    M llvm/test/Transforms/PGOProfile/cspgo_profile_summary.ll
    M llvm/test/Transforms/PGOProfile/unreachable_bb.ll
    M llvm/unittests/ProfileData/SampleProfTest.cpp

  Log Message:
  -----------
  [ProfileSummary] Add partial profile annotation on IR.

Profile and profile summary are usually read only once and then annotated
on IR. The profile summary metadata on IR should include the value of the
newly added partial profile flag, so that compilation phase like thinlto
postlink can get the full set of profile information.

Differential Revision: https://reviews.llvm.org/D78310




More information about the All-commits mailing list