Now that the runtime tracks the lifetime access density directly, we can
use that directly in the threshold checks instead of less accurately
computing from other statistics.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm
llvm/lib/Analysis/MemoryProfileInfo.cpp | ||
---|---|---|
22 | AccessesPerBytePerSec seems to be synonymous to LifetimeAccessDensity which we use elsewhere in this patch. Can we use the same (latter) phrase for this option too? E.g MemprofLifetimeAccessDensityColdThreshold Also update the options and description if you choose to adopt this suggestion. | |
llvm/unittests/Analysis/MemoryProfileInfoTest.cpp | ||
74 | nit: const |
Comment Actions
Also noticed the comments in the new tests for MemProfContextDisambiguation refer to the old version of the lifetime threshold option, updating those too.
AccessesPerBytePerSec seems to be synonymous to LifetimeAccessDensity which we use elsewhere in this patch. Can we use the same (latter) phrase for this option too? E.g MemprofLifetimeAccessDensityColdThreshold
Also update the options and description if you choose to adopt this suggestion.