From 86290d37fb49fb7839beefc405c43dfe664375b8 Mon Sep 17 00:00:00 2001 From: Tamas Hadhazy Date: Fri, 1 Nov 2024 10:50:52 +0000 Subject: extra description to ch9 gvn graph --- chapter09/README.md | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3