Re: [PATCH] reassoc: Fold some statements [PR108819]

2023-02-18 Thread Richard Biener via Gcc-patches
> Am 18.02.2023 um 11:41 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > This spot in update_ops can replace one or both of the assign operands with > constants, creating 1 & 1 and similar expressions which can confuse later > passes until they are folded. Rather than folding both con

[PATCH] reassoc: Fold some statements [PR108819]

2023-02-18 Thread Jakub Jelinek via Gcc-patches
Hi! This spot in update_ops can replace one or both of the assign operands with constants, creating 1 & 1 and similar expressions which can confuse later passes until they are folded. Rather than folding both constants by hand and also handling swapping of operands for commutative ops if the firs