[LLVMdev] Patch - big stackframes on SPU

Scott Michel scottm at aero.org
Mon Mar 1 14:12:39 PST 2010


As Anton said, "It should just work."


-scooter

On Feb 26, 2010, at 3:15 AM, Anton Korobeynikov wrote:

> Hello
>
>> Would it be possible to conditionally enable the register scavenger  
>> only if
>> the function has a big stack? It now gets unconditionally enabled in
>>  SPURegisterInfo::requiresRegisterScavenging(const MachineFunction  
>> &MF).
>> Just checking MF.getFrameInfo()->getStackSize() here doesn't seem  
>> to be the
>> solution...
> Well, I think no. regscavenger should work well regardless of any
> settings. Currently it's heavily used for ARM, so, you might want to
> look how the stuff is solved there.
>
> -- 
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State  
> University
>




More information about the llvm-dev mailing list