Just out of curiosity, now that explicitly managed stack frames [1]
are possible (given support in the code generators), is the stack
register freed for other uses when the LLVM system stack isn't being
used?
Sandro
[1] http://nondot.org/sabre/LLVMNotes/ExplicitlyManagedStackFrames.txt
Nope, the stack pointer (e.g. ESP) is still needed for local spill code within the function, allocas, etc.
-Chris
[1] http://nondot.org/sabre/LLVMNotes/ExplicitlyManagedStackFrames.txt
Interesting. Something like this is more then sufficient for
implementing by value structure passing at the llvm level 
Cheers,
But unfortuantely, this assumes that everything has been converted to continuation passing style with only tail calls remaining... not good for the C ABI 
-Chris