-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[Wasm RyuJIT] Add some missing types to ins_Load and ins_Store #122994
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
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
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.
Pull request overview
This PR fixes assertions in the Wasm RyuJIT compiler by adding missing type cases for TYP_REF and TYP_BYREF in the instruction selection functions. These reference and byref types were causing asserts during superpmi replays because they weren't explicitly handled in the WASM-specific switch statements.
Key changes:
- Added TYP_REF and TYP_BYREF cases to ins_Load function for WASM target
- Added TYP_REF and TYP_BYREF cases to ins_Store function for WASM target
- Both cases fall through to TYP_INT, mapping to i32 instructions (appropriate for WASM32's 4-byte pointers)
- Included TODO comments noting future 64-bit support requirements
|
cc @dotnet/jit-contrib |
|
/ba-g known iOS lane flakes |
We get a bunch of asserts here when doing superpmi replays, from TYP_REF ending up in here.