summaryrefslogtreecommitdiff
path: root/chapter09/README.md
diff options
context:
space:
mode:
authorTamas Hadhazy <helsgithub15@gmail.com>2024-11-01 10:50:52 +0000
committerCliff Click <cliffc@acm.org>2024-11-01 09:46:28 -0700
commit86290d37fb49fb7839beefc405c43dfe664375b8 (patch)
treee24c975de83fb3f7277b1fe5e2232aae6414fb4d /chapter09/README.md
parentb54fc4291294e5504b785325e2f148da7fc82b6c (diff)
downloadSimple-86290d37fb49fb7839beefc405c43dfe664375b8.tar.gz
Simple-86290d37fb49fb7839beefc405c43dfe664375b8.zip
extra description to ch9 gvn graph
Diffstat (limited to 'chapter09/README.md')
-rw-r--r--chapter09/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/chapter09/README.md b/chapter09/README.md
index 2090931f..5a04c7f8 100644
--- a/chapter09/README.md
+++ b/chapter09/README.md
@@ -247,6 +247,9 @@ Without GVN the peepholes cannot see that both sides of the subtraction have the
![Graph3](./docs/09-graph3.svg)
+- Each multiplication(*) node has two edges going to `arg`.
+- In the example above, we fused them to make the graph more readable.
+
With GVN, the peepholes can do a better job:
![Graph4](./docs/09-graph4.svg)