dcbaker / meson-plus-plus

An experimental and incomplete implementation of Meson in C++, for solving Meson's bootstrapping issue.
Apache License 2.0
50 stars 7 forks source link

Merge the GVN pass, and rewrite the block walker #128

Closed dcbaker closed 1 month ago

dcbaker commented 1 month ago

These are both pretty big changes, the block walker is more efficient, and doesn't walk over the same block twice. The combined GVN pass also inserts phis at the same time, which is essentially the same task. This also allows us to break GVN out of the main loop, and only run it in an early loop.