hw-doloop: Use rtx_insn (touches config/bfin/bfin.c)
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 17:05:45 +0000 (17:05 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 17:05:45 +0000 (17:05 +0000)
commit01f75287918bd42ee74bce1c420f6ab4132e422d
treeae7c1364d7c43b17d18ffa127700f450ad7298b3
parent2145548837b12750aec88d996b2514178ef3af4e
hw-doloop: Use rtx_insn (touches config/bfin/bfin.c)

gcc/
* hw-doloop.h (struct hwloop_info_d): Strengthen fields
"last_insn", "loop_end" from rtx to rtx_insn *.

* hw-doloop.c (scan_loop): Likewise for local "insn".
(discover_loop): Likewise for param "tail_insn".
(discover_loops): Likewise for local "tail".

* config/bfin/bfin.c (hwloop_optimize): For now, add a checked
cast to rtx_insn * when assigning from an rtx local to a
hwloop_info's "last_insn" field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214334 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/bfin/bfin.c
gcc/hw-doloop.c
gcc/hw-doloop.h