leo/compiler/passes
Michael Benfield 5e7591fec9 Improve handling of guards while flattening.
Specifically three changes are made:

1. Cache Anded together chains of conditionals for early returns.
This prevents quadratic code being generated in the face of a chain
of ifs like

```
if a { return 0u32; } else if b { return 1u32 } else if ...
```

2. Take into account early returns for asserts, and cache the
when reconstructing the assert, as with caching them for early returns.

Fixes #28386, #28387
2024-10-17 10:03:08 -07:00
..
src Improve handling of guards while flattening. 2024-10-17 10:03:08 -07:00
Cargo.toml Clean up dependencies. 2024-10-10 12:56:17 -07:00
LICENSE.md initial commit 2022-04-27 09:14:59 -07:00
README.md Cleanup out dated docs 2022-08-18 15:45:30 -07:00

leo-passes

Crates.io Authors License