1 # an example with reducible control
2 # flow graph that exposes poor
3 # handling of looping constructs
8 %dum =w copy 0 # dummy live-through temporary
10 %alt =w phi @start 0, @left %alt1, @right %alt1
11 %cnt =w phi @start 100, @left %cnt, @right %cnt1
13 jnz %alt1, @right, @left
15 %x =w phi @loop 10, @left %x1
20 %cnt1 =w sub %cnt, %ten
21 jnz %cnt1, @loop, @end
23 %ret =w add %cnt, %dum