Skip to content

Do not assume about another half regrec#53412

Merged
kunalspathak merged 1 commit intodotnet:mainfrom
kunalspathak:another-half-regrec
May 28, 2021
Merged

Do not assume about another half regrec#53412
kunalspathak merged 1 commit intodotnet:mainfrom
kunalspathak:another-half-regrec

Conversation

@kunalspathak
Copy link
Contributor

After #45135, we started assuming at one place that RegisterRecord would always be the even-numbered. (See my question in that PR). However, it seems that recent work of porting SIMDIntrinsicGetItem and SIMDIntrinsicSetItem to HWIntrinsics done in #52288 exposed the problem and prove that the assumption is wrong.

The fix is to revert back to pre #45135 change.

Fixes: #53322

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label May 28, 2021
@kunalspathak
Copy link
Contributor Author

@kunalspathak kunalspathak marked this pull request as ready for review May 28, 2021 16:23
@kunalspathak
Copy link
Contributor Author

@dotnet/jit-contrib

@kunalspathak kunalspathak merged commit d7a4d9b into dotnet:main May 28, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 27, 2021
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 'genIsValidDoubleReg(regRec->regNum)'

2 participants