[LLVMdev] RegAllocFast uses too much stack

Chris Lattner clattner at apple.com
Mon Jul 11 21:08:32 PDT 2011


On Jul 11, 2011, at 3:49 PM, Jakob Stoklund Olesen wrote:

>>> 
>>> Going bottom-up, FastISel doesn't know when it'll see the first use of a value
>>> in a block. Cleverer schemes are possible.
>> 
>> Or less clever by not caching the result? :)
> 
> At least, we shouldn't cache stuff across function calls.

Special casing "instructions that clobber everything", or just calls, would make a lot of sense.

-Chris



More information about the llvm-dev mailing list