Track the number of cached/recomputed values using the LLVM statistics macro
Open
good first issue
- Dominant language
- LLVM
- Stars
- 1.7k
- Forks
- 188
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 22
Description
https://llvm.org/docs/ProgrammersManual.html#id38
```
#include "llvm/ADT/Statistic.h"
STATISTIC(NumCachedValues, "Number of values cached");
STATISTIC(NumRecomputedValues, "Number of values recomputed");
```
Other stats to track:
- GPU gradient accumulation
- Non-atomic load/store
- Parallel Reduction
- Atomic increment
- Allocation Merging
- Heap-to-stack (and register)
Contributor guide
Assessment
This issue has not been assessed yet.