Stream: git-wasmtime

Topic: wasmtime / PR #7879 Add missing subsume uses in egraph rules


view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 19:34):

elliottt requested wasmtime-compiler-reviewers for a review on PR #7879.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 19:34):

elliottt opened PR #7879 from elliottt:trevor/subsume-use to bytecodealliance:main:

Take a quick pass over the egraph rules to look for cases that violate our new guidelines about when subsume is required. There were a few cases where subsume was needed, and though I believe those instances were benign I think they're worth adding to make sure we're following the spirit of our new guidelines.

I've also added some clarifying text about constants in the test of guideline 2, to make it more obvious that cases where we discard constants are okay without subsume.

<!--
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 (Feb 06 2024 at 19:34):

elliottt requested abrown for a review on PR #7879.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 19:35):

elliottt edited PR #7879:

I took a quick pass over the egraph rules to look for cases that violate our new guidelines about when subsume is required. There were a few cases where subsume was needed, and though I believe those instances were benign I think they're worth adding to make sure we're following the spirit of our new guidelines.

I've also added some clarifying text about constants in the test of guideline 2, to make it more obvious that cases where we discard constants are okay without subsume.

<!--
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 (Feb 06 2024 at 19:37):

elliottt requested fitzgen for a review on PR #7879.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 19:37):

elliottt edited PR #7879:

I took a quick pass over the egraph rules to look for cases that violate our new guidelines about when subsume is required. There were a few cases where subsume was needed, and though I believe those instances were benign I think they're worth adding to make sure we're following the spirit of our new guidelines.

I've also added some clarifying text about constants in the text of guideline 2, to make it more obvious that cases where we discard constants are okay without subsume.

<!--
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 (Feb 06 2024 at 20:15):

fitzgen submitted PR review:

Thanks for auditing our rules!

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 20:46):

fitzgen merged PR #7879.


Last updated: Oct 23 2024 at 20:03 UTC