Skip to content

ZJIT: Make --zjit-dump-hir work with HIR opt disabled #14242

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 1 commit into from
Aug 15, 2025

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Aug 15, 2025

This PR allows --zjit-dump-hir to work when --zjit-disable-hir-opt. ref: #14181

I know --zjit-dump-hir-init still works, but I want to keep using --zjit-dump-hir when switching --zjit-disable-hir-opt because I use it as "dump HIR used by codegen", which should work even when HIR optimizer is disabled.

@k0kubun k0kubun marked this pull request as ready for review August 15, 2025 17:34
@matzbot matzbot requested a review from a team August 15, 2025 17:34
@k0kubun k0kubun merged commit 1d7ed95 into ruby:master Aug 15, 2025
84 of 87 checks passed
@k0kubun k0kubun deleted the zjit-dump-hir branch August 15, 2025 18:26
Copy link

Tests Failed

✖️no tests failed ✔️62280 tests passed(2 flakes)

@XrXr
Copy link
Member

XrXr commented Aug 15, 2025

Nice! I ran into this too.

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.

3 participants