Closed carljm closed 1 month ago
Name | Link |
---|---|
Latest commit | 167af0b0bd91b471e336a762ec57cafb7437a4b6 |
Latest deploy log | https://app.netlify.com/sites/salsa-rs/deploys/67059dc4f8307300089cfcd0 |
Comparing carljm:cycle-test
(167af0b) with master
(a20b894)
β
8
untouched benchmarks
Add a test with a simplified example case where fixpoint iteration is needed in dataflow analysis.
Inputs are
Definition
,Use
, andLiteral
(to simplify the example, we exclude parsing and just take the data flow structure as input) modeling a simple language with only the following constructs:x = y + <literal>
orx = <literal>
.The added tests
simple
andunion
pass; the testscycle_converges
,cycle_diverges
, andmulti_symbol_cycle_converges
hit a Salsa cycle and fail.The initial goal of the fixpoint iteration feature (IMO) should be to make these tests pass (not exactly as-is; presumably some cycle-handling code will need to be added in some form, but exactly what that feature should look like is what we need to determine.)