[PATCH] D45062: [ThinLTO] Add an option to force summary call edges cold for debugging
Easwaran Raman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 29 17:44:44 PDT 2018
eraman added inline comments.
================
Comment at: lib/Analysis/ModuleSummaryAnalysis.cpp:331
CallGraphEdges[Index.getOrInsertValueInfo(I)].updateHotness(
- CalleeInfo::HotnessType::Critical);
+ ForceSummaryEdgesCold ? CalleeInfo::HotnessType::Cold
+ : CalleeInfo::HotnessType::Critical);
----------------
Is this the desired behavior or should the flag not affect these edges that are forced to be inlined in AutoFDO? One can argue for preserving critical edges so that the profile gets applied correctly. If you think this behavior is desired, please mention this in the description text of the flag.
Repository:
rL LLVM
https://reviews.llvm.org/D45062
More information about the llvm-commits
mailing list