Skip to content

Conversation

lewing
Copy link
Member

@lewing lewing commented Apr 8, 2025

The cause of #114401 was actually that the lookup was rejecting the single scalar arg. There is a non-zero chance this fix will cause some overmatching.

fixes
#114401

Copy link
Contributor

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

@lewing lewing marked this pull request as ready for review April 9, 2025 03:29
@Copilot Copilot AI review requested due to automatic review settings April 9, 2025 03:29
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/mono/mono/mini/interp/transform-simd.c:995

  • The new condition using MONO_TYPE_IS_VECTOR_PRIMITIVE may lead to overmatching, potentially accepting unintended argument types. Consider refining the check to more precisely target the intended scalar argument types.
} else if (MONO_TYPE_IS_VECTOR_PRIMITIVE(arg1)) {

@lewing
Copy link
Member Author

lewing commented Apr 9, 2025

It looks good.

@lewing lewing deleted the fix-splat branch April 9, 2025 16:25
@github-actions github-actions bot locked and limited conversation to collaborators May 10, 2025
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.

2 participants