Skip to content

Conversation

@jakobbotsch
Copy link
Member

Returning TYP_INT from this function was causing lvaInitUserArgs to not set the "other reg" in LclVarDsc for SIMD types in varargs methods. This seemingly didn't usually cause issues, probably because we always DNER them and apparently genFnPrologCalleeRegArgs does not use LclVarDsc::GetOtherArgReg() in this case.

Split out from #100276

Returning `TYP_INT` from this function was causing `lvaInitUserArgs` to
not set the "other reg" in `LclVarDsc` for SIMD types in varargs
methods. This seemingly didn't usually cause issues, probably because we
always DNER them and apparently `genFnPrologCalleeRegArgs` does not use
`LclVarDsc::GetOtherArgReg()` in this case.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 26, 2024
@jakobbotsch jakobbotsch marked this pull request as ready for review March 26, 2024 15:23
@jakobbotsch
Copy link
Member Author

jakobbotsch commented Mar 26, 2024

cc @dotnet/jit-contrib PTAL @AndyAyersMS

No diffs

@jakobbotsch jakobbotsch merged commit cb36fdd into dotnet:main Mar 26, 2024
@jakobbotsch jakobbotsch deleted the fix-mangleVarArgsType branch March 26, 2024 18:39
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

2 participants