Open vitek-karas opened 1 year ago
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas See info in area-owners.md if you want to be subscribed.
Author: | vitek-karas |
---|---|
Assignees: | - |
Labels: | `area-Tools-ILLink` |
Milestone: | - |
We should also implement the same in the trimmer and AOT since those also implement the interprocedural analysis which has one of these algorithms in it.
The data flow analysis implemented by the analyzer (over CFG) implements a simple algorithm which loops until it hits a steady state. Assuming there no bugs, that should always happen, but if it doesn't the analyzer will effectively hang.
We should implement a guard on the number of iterations and fail (probably even throw) if it happens: