swift
0a948459 - Add findEnclosingDefs and findBorrowIntroducers utilities.

Commit
2 years ago
Add findEnclosingDefs and findBorrowIntroducers utilities. These APIs are essential for complete OSSA liveness analysis. The existing ad-hoc OSSA logic always misses some of the cases handled by these new utilities. We need to start replacing that ad-hoc logic with new utilities built on top of these APIs to define away potential latent bugs. Add FIXMEs to the inverse API: visitAdjacentBorrowsOfPhi. It should probably be redesigned in terms of these new APIs.
Author
Committer
Parents
Loading