Stream: git-wasmtime

Topic: wasmtime / PR #4953 WIP: egraph-based midend: draw the re...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 23 2022 at 22:26):

cfallin opened PR #4953 from mid-end to main:

This PR is a draft of an updated version of the egraph patch (and thus supersedes #4249) with the two parts already merged (multi-etors and the egraph crate proper) removed; it includes the Cranelift integration, the egraph build (CLIF to egraph) and elaboration (egraph to CLIF) algorithms, and rule application engine, as well as a set of rewrite rules that replaces the existing mid-end optimizations.

It still needs a bit more productionizing:

The purpose of this draft PR is to be a place to do this work on a rebased and up-to-date basis. (Lots happened since the original egraph work branched off in May, including incremental compilation and a good number of smaller changes.)

While patch-wrangling this week, I tried pulling this apart into smaller pieces, but the remaining bits are pretty cyclically entangled, and/or some of the intermediate points that might make sense (e.g. egraph build and elaboration without rule application) require re-synthesizing some scaffolding that would then disappear in the final state, so that seems a bit counterproductive. Once we have a polished state I can try pulling it apart into separate logical commits at least.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 28 2022 at 00:16):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 02:20):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 05:58):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 17:46):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 01:40):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 01:50):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 04:59):

cfallin updated PR #4953 from mid-end to main.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 04:59):

cfallin has marked PR #4953 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 04:59):

cfallin requested jameysharp for a review on PR #4953.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 05:53):

cfallin updated PR #4953 from mid-end to main.


Last updated: Nov 22 2024 at 16:03 UTC