llvm: add LoopForm PHI hygiene smoke (no empty PHI); docs: MIR hints (zero-cost); macros: scaffold If/Match normalize (identity)

This commit is contained in:
Selfhosting Dev
2025-09-20 01:06:54 +09:00
parent 02c8244964
commit 9999c7c456
3 changed files with 106 additions and 0 deletions

View File

@ -0,0 +1,13 @@
// if_match_normalize_macro.nyash
// Scaffold: identity expansion for now. Future: introduce join variable and
// canonical If/Match normalization (scrutinee once, guard fused) as documented
// in docs/guides/if-match-normalize.md.
static box MacroBoxSpec {
name() { return "IfMatchNormalizeScaffold" }
expand(json, ctx) {
return json
}
}