You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate IR entry blocks and branch destinations #45
bugSomething isn't workinggood first issueGood for newcomersirIntermediate representation, builders, verification and lowering.needs testingRequires focused correctness or coverage validation.priority highCorrectness or foundational work to address before dependent features.
Reproduced: ModuleBuilder.br(BlockId(999)) in a function with no block 999 passes verify_module. Br destinations are ignored; CBr and Switch destination existence is also unchecked.
Scope
Difficulty: easy.
Build a per-function block-ID set and validate entry, direct branch, conditional branch and switch destinations.
Completion criteria
Every control-flow destination and entry belongs to the same function.
Empty/missing-entry function bodies are rejected according to the function-definition contract.
Tests cover each terminator and a valid loop.
Backlog index: #12. This issue owns only the bounded work described above.
bugSomething isn't workinggood first issueGood for newcomersirIntermediate representation, builders, verification and lowering.needs testingRequires focused correctness or coverage validation.priority highCorrectness or foundational work to address before dependent features.
Activity