Re: [PATCH] middle-end: Add and use few helper methods for current_properties

2024-07-30 Thread Richard Biener
On Sat, Jul 27, 2024 at 4:29 AM Andrew Pinski wrote: > > While working on isel, I found that the current way of doing > current_properties > in function can easily make a mistake and having to do stuff like `(a & b ) > == 0` > and `a |= b;` and `a &= ~b;` is not so obvious what was going on. > S

[PATCH] middle-end: Add and use few helper methods for current_properties

2024-07-26 Thread Andrew Pinski
While working on isel, I found that the current way of doing current_properties in function can easily make a mistake and having to do stuff like `(a & b ) == 0` and `a |= b;` and `a &= ~b;` is not so obvious what was going on. So let's add a few helper methods to function: * set_property * unset_