Re: Help on code generation and register allocation



I always considered tail recursion elimination to be a
target-independent optimization process. So what does it have to deal
with register allocator and processor architecture?

Didn't read Tiger book, unfortunately, but think there's not much
information on advanced register allocation techniques like improved
linear scan or graph allocation. Dragon book just declares the problem
of register allocation, solves it in one of the simpliest ways and
gives directions to register allocation in a few paragraphs. But I
think, this book is a good introduction into sophisticated area of
compiler development.
.