github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/compile/ssa/testdata/inline-dump.go (about)

     1  package foo
     2  
     3  func f(m, n int) int {
     4  	a := g(n)
     5  	b := g(m)
     6  	return a + b
     7  }
     8  
     9  func g(x int) int {
    10  	y := h(x + 1)
    11  	z := h(x - 1)
    12  	return y + z
    13  }
    14  
    15  func h(x int) int {
    16  	return x * x
    17  }