Re: [PATCH 2/2] Slightly improve bitwise_inverted_equal_p comparisons

2023-08-02 Thread Richard Biener via Gcc-patches
On Mon, Jul 31, 2023 at 7:47 PM Andrew Pinski via Gcc-patches wrote: > > This slighly improves bitwise_inverted_equal_p > for comparisons. Instead of just comparing the > comparisons operands also valueize them. > This will allow ccp and others to match the 2 comparisons > without an extra pass ha

[PATCH 2/2] Slightly improve bitwise_inverted_equal_p comparisons

2023-07-31 Thread Andrew Pinski via Gcc-patches
This slighly improves bitwise_inverted_equal_p for comparisons. Instead of just comparing the comparisons operands also valueize them. This will allow ccp and others to match the 2 comparisons without an extra pass happening. OK? Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: