Stream: git-wasmtime

Topic: wasmtime / PR #6167 Cranelift: remove non-egraphs optimiz...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:54):

cfallin opened PR #6167 from cfallin:remove-non-egraphs to bytecodealliance:main:

This PR removes the LICM, GVN, and preopt passes, and associated support pieces, from cranelift-codegen. Not to worry, we still have optimizations: the egraph framework subsumes all of these, and has been on by default since #5181.

A few decision points:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:54):

cfallin requested elliottt for a review on PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:54):

cfallin requested wasmtime-compiler-reviewers for a review on PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:54):

cfallin requested alexcrichton for a review on PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:54):

cfallin requested wasmtime-core-reviewers for a review on PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:56):

cfallin requested fitzgen for a review on PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:57):

cfallin requested jameysharp for a review on PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 15:58):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:13):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:16):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:16):

elliottt created PR review comment:

I think we're still unable to port this optimization to egraphs. That shouldn't block this PR, but it would be nice to optimize control flow in the future as well :)

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:17):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:22):

cfallin updated PR #6167.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:32):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 16:32):

cfallin created PR review comment:

Ah, yes, it looks like this is doing (brif (icmp eq a 0) ...) -> (brif a ...) and the equivalent for ne -- that would indeed be useful to have someday!

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 17:44):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 17:44):

jameysharp created PR review comment:

Specifically, that issue is tracked in #6106.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2023 at 18:51):

cfallin merged PR #6167.


Last updated: Dec 23 2024 at 13:07 UTC