Re: [PATCH] Disable -fipa-ra for naked functions (PR target/85593)

2018-12-06 Thread Jeff Law
On 12/6/18 4:34 PM, Jakub Jelinek wrote: > Hi! > > The only documented supported content of naked functions is basic asm > statement(s). Those don't have clobbers though, so we should ignore > naked functions for IPA-RA; if they are written the only supported way, > they will appear not to clobbe

[PATCH] Disable -fipa-ra for naked functions (PR target/85593)

2018-12-06 Thread Jakub Jelinek
Hi! The only documented supported content of naked functions is basic asm statement(s). Those don't have clobbers though, so we should ignore naked functions for IPA-RA; if they are written the only supported way, they will appear not to clobber any registers at all and IPA-RA will then assume th