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

Fix unitialized local in impCastClassOrIsInstToTree #82348

Merged
merged 6 commits into from
Feb 20, 2023

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Feb 18, 2023

Fixes #82071

op2 is supposed to be a class handle which is saved to a local via COMMA (importer-level CSE). There was a case related to getExactClasses where that COMMA didn't present in the tree.
Asm diff for CastToGenericInterface in #82071: https://www.diffchecker.com/lV4PCEeJ/

@ghost ghost assigned EgorBo Feb 18, 2023
@EgorBo EgorBo changed the title Replace COMMA with a Statement in impCastClassOrIsInstToTree Fix unitialized local in impCastClassOrIsInstToTree Feb 19, 2023
@MichalStrehovsky
Copy link
Member

Thanks! Could you also remove it from issues.targets?

<ExcludeList Include="$(XunitTestBinBase)/JIT/PGO/ProfileCastClassAndIsInst/**">
<Issue>https://github.com/dotnet/runtime/issues/82071</Issue>
</ExcludeList>

@EgorBo
Copy link
Member Author

EgorBo commented Feb 20, 2023

@jakobbotsch @dotnet/jit-contrib PTAL, simple fix, zero diffs (fixes NAOT)

@EgorBo
Copy link
Member Author

EgorBo commented Feb 20, 2023

Failure is #82397

@EgorBo EgorBo merged commit ac7afb9 into dotnet:main Feb 20, 2023
@EgorBo EgorBo deleted the fix-impCastClassOrIsInstToTree branch February 20, 2023 14:42
@ghost ghost locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ProfileCastClassAndIsInst test failing on NativeAOT
3 participants