Re: [PATCH] Fix cleanup_auto_inc_dec on x86 (PR rtl-optimization/88416)

2018-12-13 Thread Jeff Law
On 12/11/18 9:43 AM, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, x86 (maybe a couple of other targets) isn't an > AUTO_INC_DEC target, it doesn't have REG_INC notes nor wants the generic > code to synthetize any pre/post inc/dec/modify, but does support push/pop > patterns that use thos

[PATCH] Fix cleanup_auto_inc_dec on x86 (PR rtl-optimization/88416)

2018-12-11 Thread Jakub Jelinek
Hi! As mentioned in the PR, x86 (maybe a couple of other targets) isn't an AUTO_INC_DEC target, it doesn't have REG_INC notes nor wants the generic code to synthetize any pre/post inc/dec/modify, but does support push/pop patterns that use those RTL codes. If unlucky enough, as on the following t