Skip to content

Conversation

@kunalspathak
Copy link
Contributor

For BlendVariable(), op3 should be present in XMM0. However, sometimes targetReg can get XMM0 allocated because op3 might be last use. In such case, make sure that we do not overwrite the targetReg i.e. XMM0 with op1Reg.

Fixes: #91798

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 16, 2023
@ghost ghost assigned kunalspathak Sep 16, 2023
@ghost
Copy link

ghost commented Sep 16, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

For BlendVariable(), op3 should be present in XMM0. However, sometimes targetReg can get XMM0 allocated because op3 might be last use. In such case, make sure that we do not overwrite the targetReg i.e. XMM0 with op1Reg.

Fixes: #91798

Author: kunalspathak
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@kunalspathak kunalspathak marked this pull request as ready for review September 20, 2023 17:17
@kunalspathak kunalspathak merged commit b4be77b into dotnet:main Sep 20, 2023
@kunalspathak kunalspathak deleted the issue_91798 branch September 20, 2023 17:17
@ghost ghost locked as resolved and limited conversation to collaborators Oct 20, 2023
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.

Assertion failed 'targetReg != REG_XMM0' during 'Generate code'

2 participants