Inline and simplify fold_single_bit_test_into_sign_test into fold_single_bit_test
commit8f4929df23f1952190530dd81e980dd447fe8773
authorAndrew Pinski <apinski@marvell.com>
Fri, 19 May 2023 17:47:14 +0000 (19 17:47 +0000)
committerAndrew Pinski <apinski@marvell.com>
Sat, 20 May 2023 05:04:48 +0000 (20 05:04 +0000)
tree6f5ec2617d4f1d8b01bd130fc765aa9d7be1ac42
parent7bde4c3dcdecac82e080731fc8bb362e6c024628
Inline and simplify fold_single_bit_test_into_sign_test into fold_single_bit_test

Since the last use of fold_single_bit_test is fold_single_bit_test,
we can inline it and even simplify the inlined version. This has
no behavior change.

gcc/ChangeLog:

* expr.cc (fold_single_bit_test_into_sign_test): Inline into ...
(fold_single_bit_test): This and simplify.
gcc/expr.cc