pr 29
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user