Skip to content
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

NativeAOT: Conversion for opcode conv_u4 is unsigned #76386

Merged
merged 2 commits into from
Sep 30, 2022

Conversation

yowl
Copy link
Contributor

@yowl yowl commented Sep 29, 2022

This PR makes the conversion for conv_u4 unsigned, matching conv_u8 in the following switch case. Originates from dotnet/runtimelab#1994 (comment)

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Sep 29, 2022
@MichalStrehovsky
Copy link
Member

Do we have the same bug here?

case ILOpcode.conv_u:
ImportConvert(WellKnownType.UIntPtr, false, false);
break;

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jkotas
Copy link
Member

jkotas commented Sep 30, 2022

Do we have the same bug here?

I think so - pushed commit with the fix.

@yowl
Copy link
Contributor Author

yowl commented Sep 30, 2022

I think so - pushed commit with the fix.

Thanks!

@jkotas jkotas merged commit 5481c4b into dotnet:main Sep 30, 2022
@yowl yowl deleted the conv-u4-unsigned branch September 30, 2022 19:17
@ghost ghost locked as resolved and limited conversation to collaborators Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-crossgen2-coreclr community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants