Stream: git-wasmtime

Topic: wasmtime / issue #5361 Where is the source about optimiza...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 01 2022 at 10:46):

Zhangyx24 opened issue #5361:

Where is the source about optimization pass ?

Thanks a lot!

view this post on Zulip Wasmtime GitHub notifications bot (Dec 01 2022 at 10:49):

bjorn3 commented on issue #5361:

There are optimizations at various places. https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/codegen/src/context.rs lists a couple (DCE, LICM, GVN, preopt, eliminate unreachable code, replace redundant loads) https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/codegen/src/egraph.rs has egraph based optimizations and then every backend individually has peephole optimizations.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 02 2023 at 02:53):

jameysharp commented on issue #5361:

Thanks @bjorn3 for answering this question. I'm going to go ahead and close this issue since there haven't been further questions.

@Zhangyx24, I'd encourage you to come chat with us at https://bytecodealliance.zulipchat.com/#narrow/stream/217117-cranelift if you have any more questions about how we're doing optimization! It's a topic we have too much fun talking about.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 02 2023 at 02:53):

jameysharp closed issue #5361:

Where is the source about optimization pass ?

Thanks a lot!


Last updated: Nov 22 2024 at 17:03 UTC