Skip to content

Conversation

@tannergooding
Copy link
Member

This resolves #105818

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 5, 2024
// op3 has side effects, this would require us to append a new statement
// to ensure that it isn't lost, which isn't safe to do from the general
// purpose handler here. We'll recognize this and mark it in VN instead
break;
Copy link
Member Author

Choose a reason for hiding this comment

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

The break; here was apparently lost somewhere and so it was incorrectly folding down to op2 and losing the side effect

@tannergooding tannergooding merged commit 73bffaf into dotnet:main Aug 5, 2024
@tannergooding tannergooding deleted the fix-105818 branch August 5, 2024 22:38
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 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: AdvSimd.BitwiseSelect discards side effects

2 participants