[PATCH] D58064: [ThinLTO] Record in index whether IR used a flattened sample PGO profile

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 10:20:01 PST 2019


tejohnson created this revision.
tejohnson added a reviewer: wmi.
Herald added subscribers: arphaman, dexonsmith, steven_wu, eraman, inglorion, mehdi_amini.
Herald added a project: LLVM.

This will be used to adjust importing threshold defaults, since
flattened profiles are less accurate about hotness.

It required moving the flattened-profile-use flag definition to a
different location that is accessible by the pass managers as well as
from the module summary index.


Repository:
  rL LLVM

https://reviews.llvm.org/D58064

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  lib/Analysis/ModuleSummaryAnalysis.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/ProfileData/SampleProf.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  test/Bitcode/thinlto-flattened-flag.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58064.186284.patch
Type: text/x-patch
Size: 8018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190211/f23cde7b/attachment.bin>


More information about the llvm-commits mailing list