combine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.
authorJakub Jelinek <jakub@redhat.com>
Fri, 29 Mar 2002 08:01:20 +0000 (09:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 29 Mar 2002 08:01:20 +0000 (09:01 +0100)
commit0a0440c94f4e57a050348a0970a34ab496f9d5dc
tree4cbadd2a4172d048aafb0cabc2311fd510f84b2f
parentc7f4981a5122c9b1dfcbe4596b05515d055a4b17
combine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.

* combine.c (set_nonzero_bits_and_sign_copies): Don't call
nonzero_bits if not needed.
(nonzero_bits) [XOR]: Likewise.
(nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
reg_last_set_mode and mode are both MODE_INT, but not equal.
(record_value_for_reg): Compute reg_last_set_nonzero_bits
in nonzero_bits_mode for MODE_INT modes.

From-SVN: r51551
gcc/ChangeLog
gcc/combine.c