[llvm] [ThinLTO] Add tail call flag to call edges in summary (PR #74043)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 16:04:55 PST 2023


================
@@ -4031,21 +4050,20 @@ void ModuleBitcodeWriterBase::writePerModuleFunctionSummaryRecord(
   for (auto &RI : FS->refs())
     NameVals.push_back(VE.getValueID(RI.getValue()));
 
-  bool HasProfileData =
-      F.hasProfileData() || ForceSummaryEdgesCold != FunctionSummary::FSHT_None;
+  bool UseRelBFRecord = WriteRelBFToSummary && !F.hasProfileData() &&
----------------
teresajohnson wrote:

done

https://github.com/llvm/llvm-project/pull/74043


More information about the llvm-commits mailing list