swift
0bc30e6f - Add ValueLifetimeBoundary::visitInsertionPoints

Commit
4 years ago
Add ValueLifetimeBoundary::visitInsertionPoints Given a computed ValueLifetimeBoundary, visit all the points at which the lifetime needs to be terminated, e.g. via and end_borrow or destroy_value. Especially useful for creating a borrow scope over guaranteed uses. This completely decouples the DeadBlocks analysis from the liveness analysis. It will allow phasing out the complex and bug-prone ValueLifetimeAnalysis::Frontier API.
Author
Committer
Parents
Loading