There was recently a presentation about IRHash, an IR-level compiler cache for LLVM. The authors compared IRHash with Ccache and cHash across 16 open-source projects written in C, C++, Fortran, and Haskell. They found that IRHash offers greater overall savings than Ccache and cHash, and supports more languages.
https://www.usenix.org/conference/atc25/presentation/landsberg
I wonder if it could be useful to Julia in the future.