Re: [committed] combine: Reverse negative logic in ternary operator

2025-03-03 Thread Uros Bizjak
On Mon, Mar 3, 2025 at 5:44 PM Richard Biener wrote: > > > > > Am 03.03.2025 um 17:08 schrieb Uros Bizjak : > > > > Reverse negative logic in !a ? b : c to become a ? c : b. > > > > No functional changes. > > > > gcc/ChangeLog: > > > >* combine.cc (distribute_notes): > >Reverse negative l

Re: [committed] combine: Reverse negative logic in ternary operator

2025-03-03 Thread Richard Biener
> Am 03.03.2025 um 17:08 schrieb Uros Bizjak : > > Reverse negative logic in !a ? b : c to become a ? c : b. > > No functional changes. > > gcc/ChangeLog: > >* combine.cc (distribute_notes): >Reverse negative logic in ternary operators. > > Bootstrapped and regression tested on x86

[committed] combine: Reverse negative logic in ternary operator

2025-03-03 Thread Uros Bizjak
Reverse negative logic in !a ? b : c to become a ? c : b. No functional changes. gcc/ChangeLog: * combine.cc (distribute_notes): Reverse negative logic in ternary operators. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed as an obvious patch. Uros. diff --git