swift
bbe89649 - SILOptimizer: wrap ColdBlockInfo as a SILAnalysis

Commit
80 days ago
SILOptimizer: wrap ColdBlockInfo as a SILAnalysis ColdBlockInfo previously had to be constructed and run manually for each function. Turning it into a SILAnalysis makes it lazily computed and cached per-function, with automatic invalidation whenever the control-flow graph changes. This is otherwise a non-functional change.
Author
Committer
Parents
Loading