From e31c37890a86aedfb209cf543baf05b1b60a27d2 Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Mon, 29 Apr 2024 00:11:36 +0100 Subject: Ch10update (#75) * Store-after-Store peep * Load-after-Store peephole * Fix graph viz mem edge color bug * Scalar replace loop carried dependence * #67 Dead Not node hanging around - if we add a Not in the upcast then add it to the IterPeeps worklist to ensure it gets cleaned up. We don't see the Not node in the parser hence we cannot do a peep on it there. * #67 Update visuals. Add description of Store-Store and Store-Load peeps. Add examples. * #67 Undo the change that wasn't supposed to be committed! * #67 Update description of the Store-Store and Store-Load peepholes --------- Co-authored-by: Cliff Click --- chapter10/docs/example2c.svg | 168 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 chapter10/docs/example2c.svg (limited to 'chapter10/docs/example2c.svg') diff --git a/chapter10/docs/example2c.svg b/chapter10/docs/example2c.svg new file mode 100644 index 00000000..d70660a2 --- /dev/null +++ b/chapter10/docs/example2c.svg @@ -0,0 +1,168 @@ + + + + + + +chapter10 + + +cluster_Nodes + + + + +Con_16 + +#2 + + + +Store17 + +.a = + + + +Store17->Con_16 + + +3 + + + +Start2 + + +Start + + + +$ctrl + +$2 + +$3 + +$4 + + + +Store17->Start2:p2 + + +1 + + + +new10 + +new Bar + + + +Store17->new10 + + +2 + + + +Return19 + +Return + + + +Return19->Con_16 + + +1 + + + +Return19->Store17 + + +2 + + + +Return19->Start2:p0 + + + +0 + + + +Return19->Start2:p4 + + +4 + + + +Store13 + +.b = + + + +Return19->Store13 + + +3 + + + +Stop3 + +Stop + + + +Stop3->Return19 + + +0 + + + +new10->Start2:p0 + + +0 + + + +Con_11 + +#0 + + + +Store13->Start2:p3 + + +1 + + + +Store13->new10 + + +2 + + + +Store13->Con_11 + + +3 + + + -- cgit v1.2.3