https://github.com/ChiaHungDuan approved this pull request. I think we can also mark the cache entry status in getStats(). It's fine to do it in a different CL https://github.com/llvm/llvm-project/pull/177506