Stream: git-wasmtime

Topic: wasmtime / PR #8398 cranelift: Emit argument location use...


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

jameysharp requested elliottt for a review on PR #8398.

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

jameysharp requested wasmtime-compiler-reviewers for a review on PR #8398.

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

jameysharp opened PR #8398 from jameysharp:undo-argloc-moves to bytecodealliance:main:

This reverts the key parts of e3a08d4c40f64ff7a2113d23af73f40af0859a10 (#8151), because it turns out that we didn't need that abstraction.

Several changes in the last month have enabled this:

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2024 at 17:04):

jameysharp updated PR #8398.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2024 at 19:44):

elliottt submitted PR review:

Awesome! Now that I'm thinking about it, I believe we added this specifically for GrowArgumentArea and ShrinkArgumentArea, both of which no longer exist :tada:

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2024 at 20:10):

jameysharp commented on PR #8398:

Of the several variations on the theme that we've considered, this one was even earlier than the grow/shrink frame approach. We intended to use regalloc2's parallel move resolver to shuffle values between stack slots, registers, and the argument area, to capture all the work of restoring clobber-saves, putting arguments in the right places, and getting the return address in the right place too. That turned out to be complicated. Fortunately, the fact that Ulrich's suggestion (proactively resizing the argument area) works shows we will never have to do parallel moves.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2024 at 20:25):

jameysharp merged PR #8398.


Last updated: Nov 22 2024 at 17:03 UTC