[PATCH] D124788: [CSSPGO][NFC] Replace SampleProfileLoader::ProfileIsCS with FunctionSamples::ProfileIsCS.

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 18:21:34 PDT 2022


wenlei added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/SampleProfile.cpp:2039
 
-  if (FunctionSamples::ProfileIsCS) {
-    ProfileIsCS = true;
+  if (Reader->profileIsCS()) {
     // Tracker for profiles under different context
----------------
Any reason to avoid using FunctionSamples::ProfileIsCS here? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124788



More information about the llvm-commits mailing list