summaryrefslogtreecommitdiff
path: root/chapter10a/docs/example2b.gv
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-09-29 12:21:46 -0700
committerCliff Click <cliffc@acm.org>2026-09-29 12:21:46 -0700
commit3ba6686fc991998a0a420709dfb0012bbddf77ab (patch)
tree6da4371d0ac6a0e17cfc31dad2275f1331ab3edb /chapter10a/docs/example2b.gv
parentfa7d56f72455828826d0ab7e1c142ca814e6e2aa (diff)
downloadSimple-ch10ab.tar.gz
Simple-ch10ab.zip
Backport lazy memory splits to ch10, split into ch10a and bch10ab
Diffstat (limited to 'chapter10a/docs/example2b.gv')
-rw-r--r--chapter10a/docs/example2b.gv7
1 files changed, 5 insertions, 2 deletions
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.
}