Skip to content

Add conditional jump folding IR pass - #14

Merged
writemorecode merged 1 commit into
mainfrom
feat/ir_opt_pass_cond_jump_fold
Feb 14, 2026
Merged

Add conditional jump folding IR pass#14
writemorecode merged 1 commit into
mainfrom
feat/ir_opt_pass_cond_jump_fold

Conversation

@writemorecode

Copy link
Copy Markdown
Owner

This PR implements an intermediate representation optimization pass which replaces conditional jumps with a constant condition with an unconditional jump.

Examples: iffalse 0 jump A ; jump B will be simplified to jump A.

@writemorecode
writemorecode merged commit 3d75005 into main Feb 14, 2026
1 check passed
@writemorecode
writemorecode deleted the feat/ir_opt_pass_cond_jump_fold branch February 14, 2026 22:14
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.

1 participant