0xMiden / 0xMiden/compiler

Support declaring the same predecessor more than once in SSABulder

未關閉
#38 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
frontend
主要語言
Rust
星號
115
分支
84
平均合併
1 天 8 小時
30 天內合併 PR
15

描述

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.

貢獻指南

開啟貢獻指南

研究方向

The issue references a discussion from a pull request in the miden-ir repository. Start by examining the SSABuilder code to understand how predecessors are currently handled. Look at the linked PR comment for context on splitting edges and introducing passthrough blocks. The goal is to modify the builder to allow duplicate predecessor declarations without breaking existing SSA construction.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
compilers
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。