Check out part 2 (http://eli.thegreenplace.net/2019/go-compiler-internals-addi...) which talks about the compiler backend - there are many optimizations done on SSA
Not many, mostly simple peephole optimizations.
https://github.com/golang/go/blob/master/src/cmd/compile/int...