Re: [PATCH] match: Use uniform_integer_cst_p in bitwise_inverted_equal_p [PR115238]

2024-05-26 Thread Richard Biener
On Mon, May 27, 2024 at 6:14 AM Andrew Pinski wrote: > > I noticed while working on the `a ^ CST` patch, that bitwise_inverted_equal_p > would check INTEGER_CST directly and not handle vector csts that are uniform. > This moves over to using uniform_integer_cst_p instead of checking INTEGER_CST >

[PATCH] match: Use uniform_integer_cst_p in bitwise_inverted_equal_p [PR115238]

2024-05-26 Thread Andrew Pinski
I noticed while working on the `a ^ CST` patch, that bitwise_inverted_equal_p would check INTEGER_CST directly and not handle vector csts that are uniform. This moves over to using uniform_integer_cst_p instead of checking INTEGER_CST directly. Bootstrapped and tested on x86_64-linux-gnu with no r