mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Before this PR, the caching and computation of `IRBlock` spanned three cache stages and was also separate from `SSAConstruction` even though it shared some computations with it. They are now all cached together, so the number of stages is reduced by 2 for each layer of IR. I made the choice of what to cache be similar to what we do for `PrimitiveBasicBlock` as I've recently benchmarked this and found it to be a good choice.