Skip to content

Conversation

@tannergooding
Copy link
Member

This resolves #105693

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 31, 2024
Comment on lines +7467 to +7468
SetEvexBroadcastIfNeeded(id, instOptions);
SetEvexEmbMaskIfNeeded(id, instOptions);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have 37 instances where we SetEvex information, and this is the only place where it was happening in the wrong spot and is what was causing the size misprediction

Copy link
Contributor

@amanasifkhalid amanasifkhalid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've verified locally that this fixes #105693. LGTM, though you may want a review from someone more knowledgeable of these encodings. Thanks!

@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone Jul 31, 2024
@tannergooding tannergooding merged commit baa8df8 into dotnet:main Jul 31, 2024
@tannergooding tannergooding deleted the fix-105693 branch July 31, 2024 20:55
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 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.

JIT: Assertion failed 'estimatedSize >= actualSize' during 'Emit code'

4 participants