Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@imhameed
Copy link
Contributor

@imhameed imhameed commented Nov 4, 2020

Partial backport of #20100.

Should fix #20533.

Also see:
dotnet/runtime#35008 (comment)

@imhameed
Copy link
Contributor Author

imhameed commented Nov 5, 2020

@monojenkins build failed

1 similar comment
@imhameed
Copy link
Contributor Author

imhameed commented Nov 5, 2020

@monojenkins build failed

@filipnavara
Copy link
Contributor

Shouldn't it fallback to OP_FCONV_TO_I8 on 64-bit platforms? I mean, mini-amd64 has it wrong too, but LLVM backend seem to respect the pointer size.

@imhameed
Copy link
Contributor Author

imhameed commented Nov 5, 2020

It probably should, and that's something that I wondered when I eyeballed the existing code for our native backends, all of which seem to get this wrong, except for, as you note, the LLVM backend. I'll follow up on this in a separate PR; this PR moves us from "broken in a loud way" to "broken in the same obscure way as almost all our other backends" and also sets us up for a followup patch that should be automatically backportable.

@imhameed
Copy link
Contributor Author

imhameed commented Nov 5, 2020

@monojenkins build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants