From 300d2a9c3672acacc8bdd8d5370a424651a00571 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 18 Oct 2026 22:09:58 -0700 Subject: Cleanup & backport The phase rework, made new phases explicit and add them to the CodeGen driver. Fix the flag-spilling on X86 and ARM. Fix the GCM conservative anti-deps and backport. --- chapter20/README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter20/README.md') diff --git a/chapter20/README.md b/chapter20/README.md index 96803e51..34824650 100644 --- a/chapter20/README.md +++ b/chapter20/README.md @@ -7,6 +7,11 @@ English | [日本語](README.ja.md) The grammar is unchanged from [Chapter 18](../chapter18/docs/18-grammar.md). +`RegAlloc` follows local scheduling and assigns physical registers or stack +slots to live ranges. Request the complete pipeline through allocation with +`code.driver(CodeGen.Phase.RegAlloc, "x86_64_v2", "SystemV")`. Instruction +encoding is introduced in Chapter 21; this chapter stops with allocated nodes. + ## Some Reading Material This is a Briggs-Chaitin-Click allocator, and is very similar to the one used -- cgit v1.2.3