[ARC] Update mode_dependent_address_p hook.
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 14 Apr 2017 11:40:43 +0000 (13:40 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Fri, 14 Apr 2017 11:40:43 +0000 (13:40 +0200)
commit1fccdd40cf7a4802a3e78c0e5197332c69be3b5e
tree02c431585a916dc679c06310173ac5d400354ff7
parent1f33abd75db99567376f41a9f21cbf509167aa97
[ARC] Update mode_dependent_address_p hook.

Update arc_mode_dependent_address_p to avoid emitting subreg(mem (reg
..)) when expanding by relaxing the conditions.

gcc/
2017-04-14  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (arc_mode_dependent_address_p): Relax
conditions to take advantage of various optimizations.

From-SVN: r246925
gcc/ChangeLog
gcc/config/arc/arc.c