Replies: 2 comments 3 replies
-
Wasm MVP means basically what shipped in the first stable version of wasm back in 2015. So it doesn't include any features like sign-extension or nontrapping-float-to-int. A simple way to see which optimizations run is to build with |
Beta Was this translation helpful? Give feedback.
0 replies
-
@kripken Thanks. So running means attempted right? Is there a way to differentiate between passes that are applied versus passes that are simply attempted? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've compiled wasm filters with maybe slightly different versions of wasm-opt but run in different versions of v8/envoy (many months apart). When using something like the --mvp-features flag to disable all non-mvp features I have seen notably different performance for certain codes. It was my understanding that mvp meant wasm-opt tries to use all features that can compile to I think what can be considered an mvp IR? Meaning even if a feature wasn't in the original wasm MVP it may still be used by Wasm-opt if it can compile to some satisfactory IR. Is this understanding correct? How do I best tell which optimizations are being used when compiling with the wasm-opt flag enabled? I've seen comments where someone had output that looked like it was maybe debug output of what PassRunner was doing, but I don't see any instructions on how to printout PassRunner info via the CLI or otherwise .. particularly when bazel is part of the mix.
Beta Was this translation helpful? Give feedback.
All reactions