Re: [PATCH] PR rtl-optimization/101885: Prevent combine from clobbering flags

2022-02-03 Thread Segher Boessenkool
Hi! Please Cc: me on combine patches, I cannot keep up with gcc-patches@, and even if I could I would miss things. On Thu, Feb 03, 2022 at 11:05:48AM -, Roger Sayle wrote: > This patch addresses PR rtl-optimization/101885 which is a P2 wrong code > regression. In combine, if the resulting fu

[PATCH] PR rtl-optimization/101885: Prevent combine from clobbering flags

2022-02-03 Thread Roger Sayle
This patch addresses PR rtl-optimization/101885 which is a P2 wrong code regression. In combine, if the resulting fused instruction is a parallel of two sets which fails to be recognized by the backend, combine tries to emit these as two sequential set instructions (known as split_i2i3). As each