[PATCH] D113492: [llvm-profgen] Fix bug of split range branch sample

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 12:37:11 PST 2021


hoy added inline comments.


================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:419
 
-  return FunctionSamples::getCanonicalFnName(FRange->getFuncName());
+  return FunctionSamples::getCanonicalFnName(TargetRange->getFuncName());
 }
----------------
Can this filter out non-entry jumps that is from a different function to an outlined part of a function? I.e the Coro resume case


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113492



More information about the llvm-commits mailing list