-
Notifications
You must be signed in to change notification settings - Fork 5k
[wasm][aot] Reenable AOT System.Runtime.Intrinsics/tests and fix problems that exposed #115204
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- src/libraries/tests.proj: Language not supported
the crashing tests are in the range disabled by 2745546 I haven't narrowed it down more than that yet |
The swizzle change has the potential to cause regressions, if it does I believe I can fix them but I would like to get benchmarks on this version first |
Tagging subscribers to 'arch-wasm': @lewing |
/ba-g changes are only in wasm paths, other failures are not related |
Enable System.Runtime.Intrinsics/tests in wasm smoke tests then fix the Shuffle intrinsics crash the tests exposed. See #115062 for details.
The crash would happen when a non-constant index vector was passed to the llvm shuffle intrinsic which was exposed when the ShuffleNative path was added to the tests. The PR works around it by using the swizzle intrinsic which does not require a const index vector. If this does cause a regression it we should be able to restore the original implementation when we can verify a constant index vector is being passed.
This also fixes the PackedSimd.Min/Max intrinsic implementation which had accidentally reversed min and max.
Fixes #115203