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

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 18:06:55 PDT 2022


hoy added a comment.

The current implementation looks much cleaner now, thanks for working on this!



================
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));
----------------
nit: CalleeCtx.append(ContextId.begin(), ContextId.end());


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