0xMiden / 0xMiden/compiler

Support declaring the same predecessor more than once in SSABulder

Ouverte
#38 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
frontend
Langage dominant
Rust
Étoiles
115
Forks
84
Merge moyen
1 j 8 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.