0xMiden / 0xMiden/compiler

Support declaring the same predecessor more than once in SSABulder

Open
#38 2 comments 0 reactions 0 assignees View on GitHub
frontend
Dominant language
Rust
Stars
115
Forks
84
Avg merge
1d 8h
Merged PRs (30d)
15

Description

Extracted from https://github.com/0xPolygonMiden/miden-ir/pull/22#discussion_r1355858488

>A solution to this particular problem though is to split the edge in the predecessor, introducing new blocks along any duplicate edges which branch to the same successor, and which act as a passthrough for the "true" successor block. This gets you the desired behavior without the complexity of supporting the same block on more than one path in multi-way branching instructions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.