Skip to content
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

irjit: Fix vi2us/vi2s with non-consecutive #17129

Merged
merged 3 commits into from
Mar 16, 2023

Conversation

unknownbrackets
Copy link
Collaborator

This fixes the crashes noted in #17109, I think. At least it fixes the Windows one, and based on some partial debug info I got I think vi2us/vi2s was the cause. If it doesn't fix it, this still is a bug that should be fixed.

-[Unknown]

Without IR, we don't allocate executable memory, so the first allocation
always fails.
Vec2ClampToZero and similar assume consecutive.
@unknownbrackets unknownbrackets added the IRInterpreter Occurs with IR Interpreter but not with another CPU backend. label Mar 16, 2023
@unknownbrackets unknownbrackets added this to the v1.15.0 milestone Mar 16, 2023
@hrydgard hrydgard merged commit 2157610 into hrydgard:master Mar 16, 2023
@unknownbrackets unknownbrackets deleted the ir-minor branch March 16, 2023 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IRInterpreter Occurs with IR Interpreter but not with another CPU backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants