Re: [PATCH] Add a new target hook to compute the frame layout

2016-06-22 Thread Bernd Edlinger
On 06/22/16 20:49, Jeff Law wrote: > On 06/21/2016 11:12 PM, Bernd Edlinger wrote: > >> >> What I wanted to say here, is that lra goes thru several iterations, >> changes something in the register allocation that has an impact on the >> frame layout, typically 4-5 times, and calls INITIAL_ELIMINATI

Re: [PATCH] Add a new target hook to compute the frame layout

2016-06-22 Thread Jeff Law
On 06/21/2016 11:12 PM, Bernd Edlinger wrote: What I wanted to say here, is that lra goes thru several iterations, changes something in the register allocation that has an impact on the frame layout, typically 4-5 times, and calls INITIAL_ELIMINATION_OFFSET 3-4 times in a row, and in the result

Re: [PATCH] Add a new target hook to compute the frame layout

2016-06-21 Thread Bernd Edlinger
On 06/21/16 23:29, Jeff Law wrote: > On 06/16/2016 08:47 AM, Bernd Edlinger wrote: >> Hi! >> >> >> By the design of the target hook INITIAL_ELIMINATION_OFFSET >> it is necessary to call this function several times with >> different register combinations. >> Most targets use a cached data structure

Re: [PATCH] Add a new target hook to compute the frame layout

2016-06-21 Thread Jeff Law
On 06/16/2016 08:47 AM, Bernd Edlinger wrote: Hi! By the design of the target hook INITIAL_ELIMINATION_OFFSET it is necessary to call this function several times with different register combinations. Most targets use a cached data structure that describes the exact frame layout of the current f