[PATCH] D118177: [llvm-profgen] Decouple artificial branch from LBR parser and fix external address related issues

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 18:54:50 PDT 2022


wlei added inline comments.


================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:852
+        // Record head sample for called target(callee)
+        std::copy(ContextId.begin(), ContextId.end(),
+                  std::back_inserter(CalleeCtx));
----------------
hoy wrote:
> nit: CalleeCtx.append(ContextId.begin(), ContextId.end());
Done, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118177/new/

https://reviews.llvm.org/D118177



More information about the llvm-commits mailing list