Skip to content

Conversation

tekknolagi
Copy link
Contributor

@tekknolagi tekknolagi commented Jun 19, 2025

We can fuse linked lists of blocks. This can be run any time, improves
future analyses, improves codegen, and also makes the HIR output look
nicer.

Inspired by my implementation of CleanCFG for Cinder, which was itself
inspired by Brett Simmers' implementation in HHVM.

@tekknolagi tekknolagi force-pushed the mb-clean-cfg branch 2 times, most recently from 5890c7e to e6ba961 Compare June 19, 2025 01:55
@tekknolagi tekknolagi marked this pull request as ready for review June 19, 2025 05:44
@matzbot matzbot requested a review from a team June 19, 2025 05:44
tekknolagi and others added 2 commits June 20, 2025 09:05
We can fuse linked lists of blocks. This can be run any time, improves
future analyses, improves codegen, and also makes the HIR output look
nicer.
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
@tekknolagi tekknolagi enabled auto-merge (squash) June 20, 2025 00:07
@tekknolagi tekknolagi disabled auto-merge June 20, 2025 00:07
@tekknolagi tekknolagi enabled auto-merge (squash) June 20, 2025 00:08
@tekknolagi tekknolagi merged commit 9e33e04 into ruby:master Jun 20, 2025
84 checks passed
@tekknolagi tekknolagi deleted the mb-clean-cfg branch June 20, 2025 00:51
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