clasp icon indicating copy to clipboard operation
clasp copied to clipboard

Use the abstract interpreter

Open Bike opened this issue 2 years ago • 0 comments

A while ago I wrote an abstract interpreter in Cleavir based on stuff in Cousot. The practical upshot is that it should provide a clean way to do actual fixpoint iteration, instead of the "try a few iterations and then give up" Cleavir does now.

While the interpreter is written, it' untested and may not be practically useful. What I am thinking is that we can interleave fixpoint iterations, which improve inferred information about the IR (e.g. types) without modifying it, with modifications to the IR based on that information.

Bike avatar Mar 30 '23 17:03 Bike