vgvassilev wrote: Thanks for working on this. Have you considered using the global cache in lit to store the value -- I believe we have that concept in the infrastructure where some state is preserved across runs? https://github.com/llvm/llvm-project/pull/199255