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.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.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.
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
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.
[x] This has been discussed in issue #..., or if not, please tell us why
here.[x] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.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
andhalf_vector
helper functions as it seems they were only used for generating the docs and code forvsplit
andvconcat
bjorn3 submitted PR review.
bjorn3 created PR review comment:
Should we also remove them from the
Type
type?
MozarellaMan submitted PR review.
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 theimage
function or what it does
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
MozarellaMan edited PR review comment.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
It is fine to keep it then.
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
andTypeSet::double_vector
are still convenient for the implementation ofDerivedFunc::MergeLanes
andDerivedFunc::SplitLanes
, theType::half_vector
method incranelift/codegen/src/ir/types.rs
doesn't seem to be used anywhere after this so I think it can be removed.
jameysharp submitted PR review.
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
MozarellaMan submitted PR review.
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
jameysharp submitted PR review.
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
jameysharp has enabled auto merge for PR #5465.
jameysharp has disabled auto merge for PR #5465.
MozarellaMan updated PR #5465 from remove-vconcat-and-vsplit-clif-instructions
to main
.
jameysharp has enabled auto merge for PR #5465.
jameysharp merged PR #5465.
Last updated: Dec 23 2024 at 12:05 UTC