Highly recommend this. I used this to get an understanding of how to implement the IR for my language.
It'll write it out to a foo.ll file.
(I use -O1 so it cleans up a bit of the messy parts of the IR).
Highly recommend this. I used this to get an understanding of how to implement the IR for my language.