Skip to content

ZJIT: Remove a bunch of Option from codegen #14238

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

Merged
merged 9 commits into from
Aug 18, 2025

Conversation

tekknolagi
Copy link
Contributor

@tekknolagi tekknolagi commented Aug 15, 2025

I want to reduce the chance of accidentally having a not-implemented or
internal-compiler-error related side-exit after some code for an instruction
has already been emitted. So in this PR I make some of these ICEs cause a noisy
error and remove the spurious use of Options.

@tekknolagi

This comment was marked as outdated.

@tekknolagi

This comment was marked as outdated.

@tekknolagi

This comment was marked as outdated.

@tekknolagi

This comment was marked as outdated.

@tekknolagi tekknolagi force-pushed the mb-fix-codegen-2 branch 3 times, most recently from b4bc4b6 to dd8a496 Compare August 15, 2025 19:07
@tekknolagi tekknolagi marked this pull request as ready for review August 15, 2025 19:34
@tekknolagi tekknolagi requested a review from a team August 15, 2025 19:34
@matzbot matzbot requested a review from a team August 15, 2025 19:34
@tekknolagi
Copy link
Contributor Author

tekknolagi commented Aug 15, 2025

Opening this up for review

@tekknolagi
Copy link
Contributor Author

Defined was failing to compile before. Fixed a bug in DCE related to Defined. Now it is compiling but incorrect in one case, so made a temporary SideExit in HIR building.

Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

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

nice

@tekknolagi tekknolagi force-pushed the mb-fix-codegen-2 branch 2 times, most recently from cf3d97b to 65bf312 Compare August 18, 2025 15:20
@tekknolagi tekknolagi enabled auto-merge (rebase) August 18, 2025 15:20
Copy link

launchable-app bot commented Aug 18, 2025

Tests Failed

✖️no tests failed ✔️62266 tests passed(1 flake)

@tekknolagi tekknolagi merged commit 68c7f10 into ruby:master Aug 18, 2025
94 of 96 checks passed
@tekknolagi tekknolagi deleted the mb-fix-codegen-2 branch August 18, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants