Re: [PATCH] nvptx: do not assume that crtl->is_leaf is unset

2016-12-16 Thread Jeff Law
On 12/16/2016 09:48 AM, Alexander Monakov wrote: Hi, Until a recent change, crtl->is_leaf was initialized only during IRA startup. On NVPTX, register allocation is not done, so the backend asserts that this field is unset, and recomputes it unconditionally. Now this field can be optionally set

Re: [PATCH] nvptx: do not assume that crtl->is_leaf is unset

2016-12-16 Thread Jakub Jelinek
On Fri, Dec 16, 2016 at 07:48:01PM +0300, Alexander Monakov wrote: > Until a recent change, crtl->is_leaf was initialized only during IRA startup. > On NVPTX, register allocation is not done, so the backend asserts that this > field is unset, and recomputes it unconditionally. > > Now this field c

[PATCH] nvptx: do not assume that crtl->is_leaf is unset

2016-12-16 Thread Alexander Monakov
Hi, Until a recent change, crtl->is_leaf was initialized only during IRA startup. On NVPTX, register allocation is not done, so the backend asserts that this field is unset, and recomputes it unconditionally. Now this field can be optionally set via ira_setup_eliminable_regset for register-pressu