From 3ba6686fc991998a0a420709dfb0012bbddf77ab Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 29 Sep 2026 12:21:46 -0700 Subject: Backport lazy memory splits to ch10, split into ch10a and b --- chapter10a/docs/example2b.gv | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chapter10a/docs/example2b.gv') diff --git a/chapter10a/docs/example2b.gv b/chapter10a/docs/example2b.gv index 7ccbcc99..3f3309e5 100644 --- a/chapter10a/docs/example2b.gv +++ b/chapter10a/docs/example2b.gv @@ -1,8 +1,11 @@ digraph Memory { - rankdir=LR; + rankdir=RL; node [shape=box]; P [label="Phi(memory)"]; S [label="Loop-body Store"]; - P -> Entry [color=blue]; P -> S -> P [color=blue]; + P -> Entry [color=blue]; + P -> S [color=blue,constraint=false]; // Backedge must not place Store before Phi. + S -> P [color=blue]; P -> Loop [style=dashed]; Return -> P [color=blue]; + Return -> S [style=invis]; // Layout only: Phi, Store, Return from left to right. } -- cgit v1.2.3