[PATCH] D90056: [AutoFDO] Remove a broken assert in merging inlinee samples
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 23 17:42:50 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa16cbdd676bb: [AutoFDO] Remove a broken assert in merging inlinee samples (authored by hoy).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90056/new/
https://reviews.llvm.org/D90056
Files:
llvm/lib/Transforms/IPO/SampleProfile.cpp
Index: llvm/lib/Transforms/IPO/SampleProfile.cpp
===================================================================
--- llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -1141,10 +1141,7 @@
// top-down processing of functions' annotation.
FunctionSamples *OutlineFS = Reader->getOrCreateSamplesFor(*Callee);
OutlineFS->merge(*FS);
- } else
- assert(FS->getHeadSamples() == FS->getEntrySamples() &&
- "Expect same head and entry sample counts for profiles already "
- "merged.");
+ }
} else {
auto pair =
notInlinedCallInfo.try_emplace(Callee, NotInlinedProfileInfo{0});
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90056.300442.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201024/7668229c/attachment.bin>
More information about the llvm-commits
mailing list