Jolyon0202 wrote: > My question was why the cache is only used for huge functions. You're right. The huge-function check is not necessary. I'll update the patch so `CodeGenPrepare` always passes the cross-block cache. https://github.com/llvm/llvm-project/pull/207191