Why Go compiler implemented own IR?

Go: Frequently Asked Questions (FAQ)

What compiler technology is used to build the compilers?

At the beginning of the project we considered using LLVM for gc but decided it was too large and slow to meet our performance goals. More important in retrospect, starting with LLVM would have made it harder to introduce some of the ABI and related changes, such as stack management, that Go requires but are not part of the standard C setup.

2 Likes