Re: [PATCH 1/4] Small optimization for complex addition, real/imag parts the same

2024-07-02 Thread Richard Biener
On Mon, Jul 1, 2024 at 11:47 PM Andrew Pinski wrote: > > This is just a small optimization for the case where the real and imag > parts are the same when lowering complex addition/subtraction. We only > need to do the addition once when the real and imag parts are the same (on > both sides of the

[PATCH 1/4] Small optimization for complex addition, real/imag parts the same

2024-07-01 Thread Andrew Pinski
This is just a small optimization for the case where the real and imag parts are the same when lowering complex addition/subtraction. We only need to do the addition once when the real and imag parts are the same (on both sides of the operator). This gets done later on by FRE/PRE/DOM but having it