The stats are computed per module and will all be merged in the binary, importing the metadata will cause duplication of the stats.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/IR/Metadata.h | ||
---|---|---|
60 ↗ | (On Diff #478275) | 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. |
llvm/include/llvm/IR/Metadata.h | ||
---|---|---|
60 ↗ | (On Diff #478275) | Sounds good! |