Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tannergooding
Copy link
Member

This resolves the CI failures being seen after #94555 was merged

@ghost ghost added the area-System.Numerics label Jan 3, 2024
@ghost ghost assigned tannergooding Jan 3, 2024
@ghost
Copy link

ghost commented Jan 3, 2024

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Issue Details

This resolves the CI failures being seen after #94555 was merged

Author: tannergooding
Assignees: tannergooding
Labels:

area-System.Numerics

Milestone: -

case 1:
{
result = TAggregationOperator.Invoke(result, TTransformOperator.Invoke(xRef));
goto case 0;
Copy link
Member

Choose a reason for hiding this comment

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

Why goto case 0 rather than break?

Copy link
Member Author

@tannergooding tannergooding Jan 4, 2024

Choose a reason for hiding this comment

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

The JIT doesn't do the best job at merging paths together, but it does fine at recognizing fallthrough patterns. Going to case 0 gives us a single fallthrough pattern with no branching that just naturally continues after the switch

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks

@stephentoub stephentoub merged commit d3be0ec into dotnet:main Jan 4, 2024
@tannergooding tannergooding deleted the fix-generic-small branch January 4, 2024 17:54
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[libraries-jitstress] Failures in System.Numerics.Tensors.Tests.*Generic*
2 participants