[llvm] [SampleFDO] Stale profile call-graph matching (PR #95135)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 16 12:09:50 PDT 2024
================
@@ -155,6 +156,21 @@ static inline bool skipProfileForFunction(const Function &F) {
return F.isDeclaration() || !F.hasFnAttribute("use-sample-profile");
}
+static inline void
+buildTopDownFuncOrder(LazyCallGraph &CG,
----------------
WenleiHe wrote:
This function actually yields bottom-up order.
https://github.com/llvm/llvm-project/pull/95135
More information about the llvm-commits
mailing list