diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-07-29 16:29:09 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-08-02 01:08:31 -0700 |
commit | ee20be8325f7f257ba91a0201cfb3bd6bfbceba9 (patch) | |
tree | 695a04db1ed51c0512697a9d902388c839c6dfa8 /gcc/analyzer/analyzer-language.cc | |
parent | 2bae476b511dc441bf61da8a49cca655575e7dd6 (diff) | |
download | gcc-ee20be8325f7f257ba91a0201cfb3bd6bfbceba9.zip gcc-ee20be8325f7f257ba91a0201cfb3bd6bfbceba9.tar.gz gcc-ee20be8325f7f257ba91a0201cfb3bd6bfbceba9.tar.bz2 |
Slightly improve bitwise_inverted_equal_p comparisons
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:
* gimple-match-head.cc (gimple_bitwise_inverted_equal_p): Valueize
the comparison operands before comparing them.
Diffstat (limited to 'gcc/analyzer/analyzer-language.cc')
0 files changed, 0 insertions, 0 deletions