-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Various WASM AOT changes #62997
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
Various WASM AOT changes #62997
Conversation
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines failed to run 1 pipeline(s). |
This can be used to trace values from AOT code during runtime debugging.
Previously, a try-catch clause was added to the vector Alloc wrappers to convert the OverflowException thrown by the .ovf opcodes to an OutOfMemoryException. This could cause EH problems on wasm since on wasm no AOTed code should contain clauses, but this wrapper was still AOTed for performance reasons. Instead, add a new CIL opcode to make the .ovf opcodes throw the OutOfMemoryException directly.
It can't handle the new bblocks added by the inline rgctx fetch code.
The slowpath contained a try-catch clause, preventing Array.Copy () from being AOTed on WASM.
|
/azp run runtime-extra-platforms |
|
Comment was made before the most recent commit for PR 62997 in repo dotnet/runtime |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines failed to run 1 pipeline(s). |
| if (FastCopy(sourceArray, sourceIndex, destinationArray, destinationIndex, length)) | ||
| return; | ||
|
|
||
| CopySlow(sourceArray, sourceIndex, destinationArray, destinationIndex, length, reliable); |
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.
CopySlow -> SlowCopy or rename the other one to CopyFast?
|
/azp run runtime-extra-platforms |
|
Azure Pipelines failed to run 1 pipeline(s). |
|
/azp run runtime-manual |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-manual |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Failures appear unrelated |
No description provided.