[PATCH] D73221: [PGO] Attach appropriate funclet operand bundles to value profiling instrumentation calls

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 15:22:13 PST 2020


davidxl added a comment.

Can you extract Window's specific code into its own helper function if possible?



================
Comment at: llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp:627
+  SmallVector<OperandBundleDef, 1> OpBundles;
+  Ind->getOperandBundlesAsDefs(OpBundles);
   if (!IsRange) {
----------------
Add some comment here about the change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73221





More information about the llvm-commits mailing list