Re: [PATCH][AArch64] Remove aarch64_frame_pointer_required

2018-03-12 Thread Richard Sandiford
Wilco Dijkstra writes: > Richard Sandiford wrote: >> But there's the third question of whether the frame pointer is available >> for general allocation.  By removing frame_pointer_required, we're saying >> that the frame pointer is always available for general use.  > > Unlike on ARM/Thumb-2, the

Re: [PATCH][AArch64] Remove aarch64_frame_pointer_required

2018-03-01 Thread Wilco Dijkstra
Richard Sandiford wrote: > But there's the third question of whether the frame pointer is available > for general allocation.  By removing frame_pointer_required, we're saying > that the frame pointer is always available for general use.  Unlike on ARM/Thumb-2, the frame pointer is unfortunately

Re: [PATCH][AArch64] Remove aarch64_frame_pointer_required

2018-03-01 Thread Richard Sandiford
James Greenhalgh writes: > On Fri, Aug 04, 2017 at 01:41:22PM +0100, Wilco Dijkstra wrote: >> To implement -fomit-leaf-frame-pointer, there are 2 places where we need >> to check whether we have to use a frame chain (since register allocation >> may allocate LR in a leaf function that omits the fr

Re: [PATCH][AArch64] Remove aarch64_frame_pointer_required

2017-11-07 Thread James Greenhalgh
On Fri, Aug 04, 2017 at 01:41:22PM +0100, Wilco Dijkstra wrote: > To implement -fomit-leaf-frame-pointer, there are 2 places where we need > to check whether we have to use a frame chain (since register allocation > may allocate LR in a leaf function that omits the frame pointer, but if > LR is spi

Re: [PATCH][AArch64] Remove aarch64_frame_pointer_required

2017-08-15 Thread Wilco Dijkstra
ping From: Wilco Dijkstra Sent: 04 August 2017 13:41 To: GCC Patches; James Greenhalgh Cc: nd Subject: [PATCH][AArch64] Remove aarch64_frame_pointer_required   To implement -fomit-leaf-frame-pointer, there are 2 places where we need to check whether we have to use a frame chain (since

[PATCH][AArch64] Remove aarch64_frame_pointer_required

2017-08-04 Thread Wilco Dijkstra
To implement -fomit-leaf-frame-pointer, there are 2 places where we need to check whether we have to use a frame chain (since register allocation may allocate LR in a leaf function that omits the frame pointer, but if LR is spilled we must emit a frame chain). To simplify this do not force frame_p