phase29ao(p15): add pattern3 vm to joinir regression pack

This commit is contained in:
2025-12-30 08:16:00 +09:00
parent c0309a7d4b
commit 5be0ec1c66
7 changed files with 73 additions and 5 deletions

View File

@ -18,8 +18,8 @@ Scope: Repo root の旧リンク互換。現行の入口は `docs/development/cu
**CorePlan migration 道筋 SSOT**
`docs/development/current/main/design/coreplan-migration-roadmap-ssot.md` が移行タスクの Done 判定の入口。
**Next implementation (Phase 29ao P15)**
TBD
**Next implementation (Phase 29ao P16)**
TBD(候補: CorePhiInfo をさらに block_params 側へ縮退 / CorePlan の Skeleton+Feature 合成の実接続を 1 本増やす)
**2025-12-29: Phase 29am P0 COMPLETE (CorePlan If/Exit lowerer/verifier)**
CorePlan の If/Exit を lowerer/verifier で扱えるようにして、CorePlan 移行の土台を作った。

View File

@ -2,7 +2,7 @@
## Current Focus: Phase 29aoCorePlan composition
Next: Phase 29ao P15TBD
Next: Phase 29ao P16TBD
指示書: TBD
運用ルール: integration filter で phase143_* は回さないJoinIR 回帰は phase29ae pack のみ)
運用ルール: phase286_pattern9_* は legacy pack (SKIP) を使う
@ -83,6 +83,11 @@ Next: Phase 29ao P15TBD
- 変更: `src/mir/builder/control_flow/plan/normalizer/pattern2_break.rs` / `docs/development/current/main/phases/phase-29ao/P14-VALUEJOIN-REAL-USAGE-PATTERN2-BREAK-EXITJOIN-INSTRUCTIONS.md`
- 検証: `cargo test --release -p nyash-rust --lib` / `cargo build --release` / `./tools/smokes/v2/run.sh --profile quick` / `./tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh`
**2025-12-30: Phase 29ao P15 完了**
- 目的: JoinIR 回帰パックphase29ae packに Pattern3(IfPhi, VM) を追加して、P13 の実経路をゲートで固定
- 変更: `tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh` / `docs/development/current/main/phases/phase-29ae/README.md` / `docs/development/current/main/phases/phase-29ao/P15-REGRESSION-PACK-INCLUDE-PATTERN3-INSTRUCTIONS.md`
- 検証: `./tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh` / `./tools/smokes/v2/run.sh --profile quick`
**2025-12-29: Phase 29an P15 完了**
- 目的: P0P14 の成果を closeout 形式でまとめ、次フェーズPhase 29ao入口を固定
- 変更: `docs/development/current/main/phases/phase-29an/README.md` / `docs/development/current/main/10-Now.md` / `docs/development/current/main/30-Backlog.md` / `CURRENT_TASK.md`

View File

@ -15,7 +15,7 @@ Related:
- **Phase 29aoactive: CorePlan composition from Skeleton/Feature**
- 入口: `docs/development/current/main/phases/phase-29ao/README.md`
- 状況: P0P14 ✅ 完了 / Next: P15TBD
- 状況: P0P15 ✅ 完了 / Next: P16TBD
- Next 指示書: TBD
- **Phase 29af✅ COMPLETE: Boundary hygiene / regression entrypoint / carrier layout SSOT**

View File

@ -6,6 +6,7 @@ Goal: JoinIR の最小回帰セットを SSOT として固定する。
- Pattern2: `phase29ab_pattern2_*`
- Pattern2 (real-world): `phase263_pattern2_*`
- Pattern3 (IfPhi, VM): `phase118_pattern3_if_sum_vm`
- Pattern6: `phase29ab_pattern6_*`
- Pattern7: `phase29ab_pattern7_*`
- Merge/Phi代表: `apps/tests/phase1883_nested_minimal.hako`RC=9

View File

@ -0,0 +1,56 @@
---
Status: Ready
Scope: docs+scripts回帰ゲートの強化、仕様不変
Related:
- docs/development/current/main/phases/phase-29ao/README.md
- docs/development/current/main/phases/phase-29ae/README.md
- tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh
---
# Phase 29ao P15: JoinIR 回帰パックに Pattern3(IfPhi, VM) を追加
Date: 2025-12-30
Status: Ready for execution
Scope: 仕様不変。回帰ゲートSSOTを “P13 の実経路” を含む形に強化する。
## 目的
- P13 で移行した `Pattern3 IfPhi`merge join の block_params 化が、JoinIR 回帰 SSOT のゲートで必ず実行されるようにする。
- 既存の回帰パック設計VM backend / filter で小さく)を維持する。
## 非目的
- LLVM EXE 系テストを回帰ゲートに含める(時間/環境依存が大きいので対象外)
- 新しい fixture/smoke の新設(既存 `phase118_pattern3_if_sum_vm` を流用)
- 新 env var 追加
## 実装
### Step 1: regression pack に Pattern3 VM を追加
- `tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh`
- 追加: `run_filter "pattern3_ifphi_vm" "phase118_pattern3_if_sum_vm"`
- 位置: pattern2 の後 / pattern6 の前(順序は SSOT として固定)
### Step 2: SSOT ドキュメントに追記
- `docs/development/current/main/phases/phase-29ae/README.md`
- Regression pack に `phase118_pattern3_if_sum_vm` を追記
### Step 3: Phase 29ao の進捗と Next を更新
- `docs/development/current/main/phases/phase-29ao/README.md`
- `docs/development/current/main/10-Now.md`
- `docs/development/current/main/30-Backlog.md`
- `CURRENT_TASK.md`
## 検証(必須)
- `./tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh`
- `./tools/smokes/v2/run.sh --profile quick`
## コミット
- `git add -A`
- `git commit -m "docs(phase29ao): add pattern3 vm to joinir regression pack"`

View File

@ -93,6 +93,11 @@ GateSSOT:
- 指示書: `docs/development/current/main/phases/phase-29ao/P14-VALUEJOIN-REAL-USAGE-PATTERN2-BREAK-EXITJOIN-INSTRUCTIONS.md`
- ねらい: after join の 1 PHI を `Frag.block_params + EdgeArgs` で表現し、exit join の経路を 1 件固定
## P15: JoinIR 回帰パックに Pattern3(IfPhi, VM) を追加 ✅
- 指示書: `docs/development/current/main/phases/phase-29ao/P15-REGRESSION-PACK-INCLUDE-PATTERN3-INSTRUCTIONS.md`
- ねらい: P13 の実経路Pattern3 IfPhiが回帰ゲートphase29ae packで必ず実行されるようにする
## Nextplanned
- P15: TBD
- P16: TBD

View File

@ -19,6 +19,7 @@ run_filter() {
run_filter "pattern2" "phase29ab_pattern2_" || exit 1
run_filter "pattern2_realworld" "phase263_pattern2_" || exit 1
run_filter "pattern3_ifphi_vm" "phase118_pattern3_if_sum_vm" || exit 1
run_filter "pattern6" "phase29ab_pattern6_" || exit 1
run_filter "pattern7" "phase29ab_pattern7_" || exit 1
run_filter "phase1883" "phase1883_" || exit 1