-
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
Copy/paste error in GenTree::GetRegSpillFlagByIdx for xarch hwintrinsics #52473
Comments
Looks like this was introduced in #36155. CC @sandreenko I'd speculate it needs to just be We'd then need to implement the |
I agree with @tannergooding analysis, looks like this error does not produce any failures because we don't set the spill flag currently, so the return value is always treated as "no spill flags" for any var_type. runtime/src/coreclr/jit/regset.cpp Line 275 in 28cff50
so looks like there are several pieces that are missed, what are the current multireg HWIntrinsics that return multireg results? I assume they have to return structs based on: runtime/src/coreclr/jit/gentree.h Lines 7408 to 7412 in 28cff50
|
I don't think we have any officially doing it today. #52424 will be adding the Carol had started a prototype for this on |
I will take this |
This code has been fixed. |
In
GenTree::GetRegSpillFlagByIdx
the following code exists:runtime/src/coreclr/jit/gentree.h
Lines 7646 to 7654 in d3a72e5
This makes no sense, as the function is supposed to return a GTF_SPILL / GTF_SPILLED mask, but in this case it is returning a type, instead.
This code is an exact copy of code in
GenTree::GetRegTypeByIndex
, immediately above.So what should it return in this case?
@tannergooding @echesakovMSFT @dotnet/jit-contrib
The text was updated successfully, but these errors were encountered: