Stream: git-wasmtime

Topic: wasmtime / PR #9150 Adding an --emit-opt-clif CLI option


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

dimitris-aspetakis opened PR #9150 from karouzakisp:main to bytecodealliance:main:

The option --emit-opt-clif follows the --emit-clif implementation from wasmtime's CLI, but the output comes with the egraph optimizations applied. It has been helpful for work on #6260. From discussions in zulip, it seemed more generally desirable.

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

dimitris-aspetakis requested elliottt for a review on PR #9150.

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

dimitris-aspetakis requested wasmtime-core-reviewers for a review on PR #9150.

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

dimitris-aspetakis edited PR #9150:

The option --emit-opt-clif follows the --emit-clif implementation from wasmtime's CLI, but the output comes with the egraph optimizations applied. It has been helpful for work on #6260. From discussions in zulip, it seemed more generally desirable.

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

dimitris-aspetakis updated PR #9150.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 20 2024 at 09:45):

github-actions[bot] commented on PR #9150:

Label Messager: wasmtime:config

It looks like you are changing Wasmtime's configuration options. Make sure to
complete this check list:

[fuzzing-config]: https://github.com/bytecodealliance/wasmtime/blob/ca0e8d0a1d8cefc0496dba2f77a670571d8fdcab/crates/fuzzing/src/generators.rs#L182-L194
[fuzzing-docs]: https://docs.wasmtime.dev/contributing-fuzzing.html


<details>

To modify this label's message, edit the <code>.github/label-messager/wasmtime-config.md</code> file.

To add new label messages or remove existing label messages, edit the
<code>.github/label-messager.json</code> configuration file.

Learn more.

</details>

view this post on Zulip Wasmtime GitHub notifications bot (Aug 20 2024 at 14:57):

alexcrichton submitted PR review:

Thanks for this! As a possible alternative though, what do you think about not adding a new option but redefining --emit-clif as this option instead? That way optimized clif would be emitted by deafult and non-optimized clif could be emitted with -C opt-level=0


Last updated: Nov 22 2024 at 16:03 UTC