Re: [PATCH 1/2] gimplefe: Simplify handling of identifier based binary operations

2025-04-28 Thread Andrew Pinski
On Mon, Apr 28, 2025 at 1:13 AM Richard Biener wrote: > > On Sun, Apr 27, 2025 at 12:51 AM Andrew Pinski > wrote: > > > > While looking into adding __ROTATE_LEFT and __ROTATE_RIGHT, I noticed > > this code is just a bunch of if statments repeated. Instead we could just > > use a simple lookup ar

Re: [PATCH 1/2] gimplefe: Simplify handling of identifier based binary operations

2025-04-28 Thread Richard Biener
On Sun, Apr 27, 2025 at 12:51 AM Andrew Pinski wrote: > > While looking into adding __ROTATE_LEFT and __ROTATE_RIGHT, I noticed > this code is just a bunch of if statments repeated. Instead we could just > use a simple lookup array to do the same thinga and it would be easier to > add to the array