[ARC] Update can_follow_jump hook helper.
authorClaudiu Zissulescu <claziss@synopsys.com>
Thu, 31 Aug 2017 14:35:47 +0000 (16:35 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Thu, 31 Aug 2017 14:35:47 +0000 (16:35 +0200)
commit28f4ff35247bb085d5de9816c6ced4dc4e14269e
tree17f923893dcbf0dcfacfafd2474ead8689c6ef24
parent9f532472da3e506db3609ebb03cff3d5f20f7353
[ARC] Update can_follow_jump hook helper.

Short branches cannot be used to jump between hot/cold
sections. Update the hook.

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

* config/arc/arc.c (arc_can_follow_jump): Check for short
branches.

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