Skip to content

JIT: ensure AVX512 ternary operands aren't used twice #91851

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

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

AndyAyersMS
Copy link
Member

Don't spill unused zeros early; we might decide to use them later.

Fixes #91796.

Don't spill unused zeros early; we might decide to use them later.

Fixes dotnet#91796.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 10, 2023
@ghost ghost assigned AndyAyersMS Sep 10, 2023
@ghost
Copy link

ghost commented Sep 10, 2023

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

Issue Details

Don't spill unused zeros early; we might decide to use them later.

Fixes #91796.

Author: AndyAyersMS
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@AndyAyersMS
Copy link
Member Author

@tannergooding PTAL
cc @dotnet/jit-contrib

@@ -3602,17 +3602,19 @@ GenTree* Compiler::impSpecialIntrinsic(NamedIntrinsic intrinsic,
op2 = impSIMDPopStack();
op1 = impSIMDPopStack();

if (unusedVal1)
// Consume operands we won't use, in case they have side effects.
//
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
//

@AndyAyersMS
Copy link
Member Author

SPMI failure is #91838.

@AndyAyersMS AndyAyersMS merged commit c84ccfa into dotnet:main Sep 11, 2023
@AndyAyersMS
Copy link
Member Author

/backport to release/8.0

@github-actions
Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6147770666

@ghost ghost locked as resolved and limited conversation to collaborators Oct 11, 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 '!"Duplicate gtTreeID was found"' during 'Importation'
3 participants