[all-commits] [llvm/llvm-project] b8f13d: [SampleFDO][NFC] Detach SampleProfileLoader from S...

xur-llvm via All-commits all-commits at lists.llvm.org
Wed Feb 3 11:40:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8f13db5b7aa4245d96a07218298dcaa0ec93bb6
      https://github.com/llvm/llvm-project/commit/b8f13db5b7aa4245d96a07218298dcaa0ec93bb6
  Author: Rong Xu <xur at google.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp

  Log Message:
  -----------
  [SampleFDO][NFC] Detach SampleProfileLoader from SampleCoverageTracker

This patch detaches SampleProfileLoader from class
SampleCoverageTracker. We plan to move SampleProfileLoader
to a template class. This would remain SampleCoverageTracker
as a class.
Also make callsiteIsHot() as a file static function.

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




More information about the All-commits mailing list