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

JIT: Avoid comparing regnums in GenTreeHWIntrinsic::Equals #110535

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

jakobbotsch
Copy link
Member

Register numbers are not part of the syntax of JIT IR, so it does not need to be compared for the purpose of this function. At the same time we can hit asserts for nodes that aren't multi-reg nodes when we try to ask for the second register.

Fix #110316

Register numbers are not part of the syntax of JIT IR, so it does not
need to be compared for the purpose of this function. At the same time
we can hit asserts for nodes that aren't multi-reg nodes.

Fix dotnet#110316
@jakobbotsch
Copy link
Member Author

PTAL @dotnet/jit-contrib

No diffs

@jakobbotsch jakobbotsch merged commit f377332 into dotnet:main Dec 10, 2024
108 checks passed
@jakobbotsch jakobbotsch deleted the fix-110316 branch December 10, 2024 16:42
hez2010 pushed a commit to hez2010/runtime that referenced this pull request Dec 14, 2024
…110535)

Register numbers are not part of the syntax of JIT IR, so it does not
need to be compared for the purpose of this function. At the same time
we can hit asserts for nodes that aren't multi-reg nodes.

Fix dotnet#110316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fuzzlyn] JIT: Assertion failed 'IsMultiRegNode()' during 'Head and tail merge'
2 participants