❔ Optimize Compiler Code Generation
I am writing a compiler and I am almost done with all the base syntax/functionality, and am up to optimization.
Right now, the compiler isn’t optimized at all. No constant folding, no function inlining, and dead code is still emitted
Where can I learn about the optimization steps above and other optimizations for my compiler’s code generation? How helpful is the Dragon Book? (I already have the book, but am not up to a point where it talked about optimization yet). Any good articles/videos/resources?
Right now, the compiler isn’t optimized at all. No constant folding, no function inlining, and dead code is still emitted
Where can I learn about the optimization steps above and other optimizations for my compiler’s code generation? How helpful is the Dragon Book? (I already have the book, but am not up to a point where it talked about optimization yet). Any good articles/videos/resources?