[PATCH] D138833: [llvm_stats] Do not import llvm.stats metadata for thinlto
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 11:13:33 PST 2022
hoy added inline comments.
================
Comment at: llvm/include/llvm/IR/Metadata.h:60
+/// Special metadata node name for llvm statistic.
+constexpr const char *LLVMStatsMetadataName = "llvm.stats";
+
----------------
I'm not sure this is a good place to define the constant and I don't see any other good place for it either. Maybe just leave "llvm.stats" in place? "llvm.dbg.cu" is an example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138833/new/
https://reviews.llvm.org/D138833
More information about the llvm-commits
mailing list