Stream: git-wasmtime

Topic: wasmtime / PR #5465 Remove vconcat and vsplit clif instru...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:30):

MozarellaMan opened PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

This change is for #5463.

These instructions are not currently implemented in any cranelift backend and as the discussion in the issue clarified were only necessary for Cranelift's legalisation pass.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:36):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:42):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:44):

MozarellaMan edited PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

This change is for #5463.

These instructions are not currently implemented in any cranelift backend and as the discussion in the issue clarified were only necessary for Cranelift's legalisation pass. Also removed the double_vector and half_vector helper functions as it seems they were only used for generating the docs and code for vsplit and vconcat

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

bjorn3 submitted PR review.

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

bjorn3 created PR review comment:

Should we also remove them from the Type type?

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:57):

MozarellaMan submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:57):

MozarellaMan created PR review comment:

Looks like they are used in fn image(&self, derived_func: DerivedFunc) -> TypeSet on L#385. I'll admit, I'm not sure about the description of the image function or what it does

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:57):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 19:58):

MozarellaMan edited PR review comment.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 20:00):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 17 2022 at 20:00):

bjorn3 created PR review comment:

It is fine to keep it then.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 16:52):

jameysharp created PR review comment:

I'm not 100% sure here, but I think you were right the first time, @bjorn3. Although TypeSet::half_vector and TypeSet::double_vector are still convenient for the implementation of DerivedFunc::MergeLanes and DerivedFunc::SplitLanes, the Type::half_vector method in cranelift/codegen/src/ir/types.rs doesn't seem to be used anywhere after this so I think it can be removed.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 16:52):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:27):

MozarellaMan created PR review comment:

Ah I see what bjorn meant now, makes sense. I'll just remove the method and inline its contents in Type::merge_lanes

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:27):

MozarellaMan submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:30):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:37):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:47):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:53):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 17:59):

jameysharp has enabled auto merge for PR #5465.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 18:38):

jameysharp has disabled auto merge for PR #5465.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 18:38):

MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2022 at 19:32):

jameysharp has enabled auto merge for PR #5465.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 20 2022 at 00:41):

jameysharp merged PR #5465.


Last updated: Nov 22 2024 at 17:03 UTC