Ping Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-06-01 Thread Chung-Lin Tang
Ping. On 2011/5/26 01:29 AM, Chung-Lin Tang wrote: > On 2011/5/20 07:46 PM, Chung-Lin Tang wrote: >> On 2011/5/20 下午 07:41, Ramana Radhakrishnan wrote: >>> On 17/05/11 14:10, Chung-Lin Tang wrote: On 2011/5/13 04:26 PM, Richard Sandiford wrote: > Richard Sandiford writes: >> Chung-Lin

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-25 Thread Chung-Lin Tang
On 2011/5/20 07:46 PM, Chung-Lin Tang wrote: > On 2011/5/20 下午 07:41, Ramana Radhakrishnan wrote: >> On 17/05/11 14:10, Chung-Lin Tang wrote: >>> On 2011/5/13 04:26 PM, Richard Sandiford wrote: Richard Sandiford writes: > Chung-Lin Tang writes: >> My fix here simply adds 'reload_comp

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-20 Thread Chung-Lin Tang
On 2011/5/20 下午 07:41, Ramana Radhakrishnan wrote: > On 17/05/11 14:10, Chung-Lin Tang wrote: >> On 2011/5/13 04:26 PM, Richard Sandiford wrote: >>> Richard Sandiford writes: Chung-Lin Tang writes: > My fix here simply adds 'reload_completed' as an additional condition > for EPILOGUE

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-20 Thread Ramana Radhakrishnan
On 17/05/11 14:10, Chung-Lin Tang wrote: On 2011/5/13 04:26 PM, Richard Sandiford wrote: Richard Sandiford writes: Chung-Lin Tang writes: My fix here simply adds 'reload_completed' as an additional condition for EPILOGUE_USES to return true for LR_REGNUM. I think this should be valid, as cor

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-19 Thread Eric Botcazou
> > It seems a lot of other ports suffer from the same problem though. > > I wonder which targets really do want to make a register live throughout > > the function? If none do, perhaps we should say that this macro is > > only meaningful once the epilogue has been generated. > > To answer my own

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-17 Thread Chung-Lin Tang
On 2011/5/13 04:26 PM, Richard Sandiford wrote: > Richard Sandiford writes: >> Chung-Lin Tang writes: >>> My fix here simply adds 'reload_completed' as an additional condition >>> for EPILOGUE_USES to return true for LR_REGNUM. I think this should be >>> valid, as correct LR save/restoring is han

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-13 Thread Richard Sandiford
Richard Sandiford writes: > Chung-Lin Tang writes: >> My fix here simply adds 'reload_completed' as an additional condition >> for EPILOGUE_USES to return true for LR_REGNUM. I think this should be >> valid, as correct LR save/restoring is handled by the epilogue/prologue >> code; it should be sa

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions

2011-05-03 Thread Richard Sandiford
Chung-Lin Tang writes: > My fix here simply adds 'reload_completed' as an additional condition > for EPILOGUE_USES to return true for LR_REGNUM. I think this should be > valid, as correct LR save/restoring is handled by the epilogue/prologue > code; it should be safe for IRA to treat it as a norma