My question is about why every SSA form program corresponds to a chordal graph by default. Wikipedia defines chordal graphs as
a chordal graph is one in which all cycles of four or more vertices have a chord, which is an edge that is not part of the cycle but connects two vertices of the cycle
Here's a simple example taken from some lecture notes I was following for the sake of understanding the benefit of SSA form to register allocation. The authors write:
[...] the following program and corresponding chordal graph:
First: I don't understand how is this graph is chordal. I realize that the program is not in SSA form. Then the author converts it to SSA form to get this interference graph
But again I can't see how this is a chordal graph or how the first graph is related to any of the later graphs.
All of this has made it very difficult to understand how SSA programs give rise to chordal intersection graphs.
Here's some of the sources that I've looked into: