[PATCH] D98590: [CSSPGO] Load context profile for external functions in PreLink and populate ThinLTO import list

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 11:00:16 PDT 2021


wenlei added inline comments.


================
Comment at: llvm/test/Transforms/SampleProfile/csspgo-import-list.ll:2
+; Make sure Import GUID list for ThinLTO properly set for CSSPGO
+; RUN: opt < %s -passes='thinlto-pre-link<O2>' -pgo-kind=pgo-sample-use-pipeline -sample-profile-file=%S/Inputs/csspgo-import-list.prof -S | FileCheck %s
+
----------------
hoy wrote:
> Add a test that consumes text format profile?
Oops, I missed the binary profile. Good catch!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98590



More information about the llvm-commits mailing list