MarinPostma edited PR #10023.
MarinPostma updated PR #10023.
MarinPostma updated PR #10023.
MarinPostma updated PR #10023.
MarinPostma updated PR #10023.
saulecabrera submitted PR review:
Winch pieces look good to me, modulo the panic comment below.
saulecabrera created PR review comment:
I don't see an issue with exposing this. However, given that I'm not deeply familiar with the history of x64 backend in Cranelift, I'll kindly ask @cfallin for confirmation.
saulecabrera created PR review comment:
Could you return an error here instead of panicking?
MarinPostma submitted PR review.
MarinPostma created PR review comment:
does it make sense to return an error here? we explicitely check that we only match the right variants above, this branch should be legitmately unreachable. No
CodeGenError
seem to correspond, so I was reluctant to add an error variant for a trivially unreachable statement.
saulecabrera submitted PR review.
saulecabrera created PR review comment:
Yeah you're right, it's probably fine as is. I'm trying to error on the side of caution when it comes to panics, because we've put a lot of effort to make sure that they are minimal, particularly if they affect partial development of features at the visitor/masm layer. Here I got confused by the nested match which led me to think that we were missing an implementation.
saulecabrera submitted PR review.
saulecabrera commented on PR #10023:
@MarinPostma just a heads up that there are a couple of conflicts that need to be resolved before merging.
MarinPostma updated PR #10023.
MarinPostma updated PR #10023.
MarinPostma commented on PR #10023:
@saulecabrera I squashed to make conflict resolution more manageable
saulecabrera submitted PR review.
saulecabrera merged PR #10023.
Last updated: Jan 24 2025 at 00:11 UTC