[PATCH] D95495: Emit metadata if there is a profile hash mismatch

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 20:16:38 PST 2021


davidxl added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp:1254
+  if (F.getMetadata(LLVMContext::MD_annotation))
+    return;
+
----------------
Do you need to check the string as well?


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

https://reviews.llvm.org/D95495



More information about the llvm-commits mailing list