Stream: git-wasmtime

Topic: wasmtime / PR #8063 cranelift-wasm: Stop using table_addr...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 19:23):

jameysharp edited PR #8063.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 19:24):

jameysharp has marked PR #8063 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 19:24):

jameysharp requested fitzgen for a review on PR #8063.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 19:24):

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

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 19:24):

jameysharp requested wasmtime-core-reviewers for a review on PR #8063.

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

fitzgen submitted PR review:

Nice!

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

fitzgen submitted PR review:

Nice!

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

fitzgen created PR review comment:

And apologies if tihs already existed. I think we can clean up a tiny bit of complexity here, if that was the case.

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

fitzgen created PR review comment:

Not 100% convinced it is worth adding the power-of-2 optimization here, since our mid-end rules should definitely already handle this. I think this file should focus on just (a) the correctness of the bounds checks and (b) optimizations to the bounds checks that rely on knowledge of the Wasm table and its limits that the mid-end can't possibly know.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 21:12):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 21:12):

jameysharp created PR review comment:

Yeah, I considered removing that in favor of relying on the corresponding egraph optimizations, but decided to keep it since it was in the original. I'd prefer to land it in this form to avoid bigger changes to the filetests, where I specifically have not turned on the egraph pass so it's more clear what's being generated, but I wouldn't be upset about removing this later.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2024 at 21:39):

jameysharp merged PR #8063.


Last updated: Dec 23 2024 at 12:05 UTC