-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Cranelift: update to regalloc2 0.12.2; support many return values. #10747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cranelift: update to regalloc2 0.12.2; support many return values. #10747
Conversation
|
In attempting to update will need to work out exactly how we handle this again... |
Prior versions of regalloc2 could not support more than 255 operands on an instruction, and together with the integrated return-value loads on call instructions introduced in bytecodealliance#10502, this caused issues with calls with many returns. This PR upgrades to a version of RA2 that supports up to `2^16 - 1` operands per instruction (well in excess of the maximum of 1000 return/result values per Wasm's implementation limits, for example). Fixes bytecodealliance#10741.
9d87044 to
74af426
Compare
|
Do you have the latest Otherwise, before this PR, if you run |
|
Yes, I have v0.10.1; and I actually get the same errors on |
|
Looks like it needed a merge/rebase with main first |
|
Ah, awesome, thanks -- that's what I get for not updating my local |
…ytecodealliance#10747) * Cranelift: update to regalloc2 0.12.2; support many return values. Prior versions of regalloc2 could not support more than 255 operands on an instruction, and together with the integrated return-value loads on call instructions introduced in bytecodealliance#10502, this caused issues with calls with many returns. This PR upgrades to a version of RA2 that supports up to `2^16 - 1` operands per instruction (well in excess of the maximum of 1000 return/result values per Wasm's implementation limits, for example). Fixes bytecodealliance#10741. * Update vets --------- Co-authored-by: Alex Crichton <[email protected]>
…10747) (#10748) * Cranelift: update to regalloc2 0.12.2; support many return values. Prior versions of regalloc2 could not support more than 255 operands on an instruction, and together with the integrated return-value loads on call instructions introduced in #10502, this caused issues with calls with many returns. This PR upgrades to a version of RA2 that supports up to `2^16 - 1` operands per instruction (well in excess of the maximum of 1000 return/result values per Wasm's implementation limits, for example). Fixes #10741. * Update vets --------- Co-authored-by: Alex Crichton <[email protected]>
Prior versions of regalloc2 could not support more than 255 operands on an instruction, and together with the integrated return-value loads on call instructions introduced in #10502, this caused issues with calls with many returns. This PR upgrades to a version of RA2 that supports up to
2^16 - 1operands per instruction (well in excess of the maximum of 1000 return/result values per Wasm's implementation limits, for example).Fixes #10741.