docs: add MIR13 mode doc and set PHI-off as default; bridge lowering split (if/loop/try); llvmlite resolver stabilization; curated runner default PHI-off; refresh CURRENT_TASK.md

This commit is contained in:
Selfhosting Dev
2025-09-17 10:58:12 +09:00
parent 31f90012e0
commit d99b941218
131 changed files with 2584 additions and 2657 deletions

View File

@ -15,10 +15,13 @@ fi
export NYASH_LLVM_USE_HARNESS=1
# Optional: PHI-off mode
if [[ "${1:-}" == "--phi-off" ]]; then
export NYASH_MIR_NO_PHI=1
export NYASH_VERIFY_ALLOW_NO_PHI=1
# Default: PHI-off (MIR13). Use --phi-on to test PHI-on path.
export NYASH_MIR_NO_PHI=${NYASH_MIR_NO_PHI:-1}
export NYASH_VERIFY_ALLOW_NO_PHI=${NYASH_VERIFY_ALLOW_NO_PHI:-1}
if [[ "${1:-}" == "--phi-on" ]]; then
export NYASH_MIR_NO_PHI=0
echo "[curated-llvm] PHI-on (JSON PHI + finalize) enabled" >&2
else
echo "[curated-llvm] PHI-off (edge-copy) enabled" >&2
fi