-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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: Fix overzealous assert in CodeGen::genSSE42Intrinsic
#105833
Conversation
cc @dotnet/jit-contrib |
Isn't the assert fine? If it triggers it should mean problems. We would override the "data" (in What are the registers in this case? |
I think the assert should instead be:
|
Are we getting register assignments when we aren't used from reg? |
Evidently so. In this case |
That definitely seems like a safer and more robust long term solution; but probably not something we want for .NET 9 I think your proposed assert handles it well enough for the short term fix. We do indeed need to ensure that the |
Thanks for the proposed assert, and for opening an issue. I think you're right that we didn't unset the register assignment for |
CodeGen::genSSE42Intrinsic
CodeGen::genSSE42Intrinsic
Fixes #105821.