This commit is contained in:
Nilton Constantino
2026-01-30 12:19:43 +00:00
parent 4f442f3123
commit ceaac6cab8
4 changed files with 19 additions and 53 deletions
-32
View File
@@ -1,35 +1,3 @@
# PR-04 — Update `core_to_vm` Lowering (Kill Placeholders)
### Goal
Make lowering the **only** integration point between Core IR and VM IR.
### Required Mapping
* `ir_core::Alloc { ty, slots }`
→ `ir_vm::Alloc { type_id, slots }`
* `BeginPeek / Borrow / Mutate`
→ `GateBegin*`
* `EndPeek / Borrow / Mutate`
→ `GateEnd*`
**Forbidden:**
* `LoadRef(0)`
* `Nop` as semantic replacement
### Tests
* Given a Core IR program with alloc + begin/end, VM IR must contain:
* shape-explicit `Alloc`
* correctly paired gate begin/end
* zero placeholders
---
# PR-05 — Gate-Aware Access Path (Choose One, Explicitly)
### Goal