3 ms·
Check out part 2 (http://eli.thegreenplace.net/2019/go-compiler-internals-adding-a-new-statement-to-go-part-2/ http://eli.thegreenplace.net/2019/go-compiler-int
by eliben 7y ago
Check out part 2 (http://eli.thegreenplace.net/2019/go-compiler-internals-adding-a-new-statement-to-go-part-2/ http://eli.thegreenplace.net/2019/go-compiler-internals-addi...) which talks about the compiler backend - there are many optimizations done on SSA
- ernst_klim 7y ago>many optimizations Not many, mostly simple peephole optimizations. https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/gen/generic.rules https://github.com/golang/go/blob/master/src/cmd/compile/int...