rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations from the least...
authorYvan Roux <yvan.roux@linaro.org>
Wed, 25 Sep 2013 18:31:13 +0000 (18:31 +0000)
committerYvan Roux <yroux@gcc.gnu.org>
Wed, 25 Sep 2013 18:31:13 +0000 (18:31 +0000)
commit3936bafc7ec961feba2d7db8ac0f65eef344bf7d
tree2dd965841fb730d3c88ceea762be625b15791fcb
parentb86f6e9e46f47fca000ba531689e4e64ae7366ef
rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations from the least significant bit.

2013-09-25  Yvan Roux  <yvan.roux@linaro.org>
    Vladimir Makarov  <vmakarov@redhat.com>

* rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations
from the least significant bit.
(strip_address_mutations): Add bitfield operations handling.
(must_be_index_p): Add shifting and rotate operations handling.
(set_address_base): Use must_be_base_p predicate.
(set_address_index):Use must_be_index_p predicate.

Co-Authored-By: Vladimir Makarov <vmakarov@redhat.com>
From-SVN: r202914
gcc/ChangeLog
gcc/rtlanal.c