[PATCH] Provide the register scavenger to processFunctionBeforeFrameFinalized

Hal Finkel hfinkel at anl.gov
Thu Mar 14 13:34:48 PDT 2013


----- Original Message -----
> From: "Jakob Stoklund Olesen" <stoklund at 2pi.dk>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "LLVM Commits" <llvm-commits at cs.uiuc.edu>
> Sent: Thursday, March 14, 2013 1:34:49 PM
> Subject: Re: [PATCH] Provide the register scavenger to processFunctionBeforeFrameFinalized
> 
> 
> 
> 
> On Mar 14, 2013, at 11:28 AM, Hal Finkel < hfinkel at anl.gov > wrote:
> 
> 
> 
> Hello again,
> 
> Please review this patch which adds the current PEI register
> scavenger as a parameter to the processFunctionBeforeFrameFinalized
> callback.
> 
> This change is necessary in order to allow the PowerPC target code to
> set the register scavenger frame index after the save-area offset
> adjustments performed by processFunctionBeforeFrameFinalized. Only
> after these adjustments have been made is it possible to estimate
> the size of the stack frame. This is part of a set of improvements
> to the PowerPC spill-code handling.
> 
> 
> 
> LGTM.

r177108, thanks!

 -Hal

> 
> 
> /jakob
> 
> 



More information about the llvm-commits mailing list