]> git.ipfire.org Git - thirdparty/gcc.git/commit
sched-ebb.c: Use rtx_insn (requires touching sched-int.h and config/c6x/c6x.c)
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 21:10:21 +0000 (21:10 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 21:10:21 +0000 (21:10 +0000)
commit43ecfeb5cddf0597bafaa0936c65d0af6693a49f
treec9a250146197489a8ef70cf05a56ee28c99ae589
parent9d8bf7331b457b3bd5ae3d8119147e6af46063ec
sched-ebb.c: Use rtx_insn (requires touching sched-int.h and config/c6x/c6x.c)

gcc/
2014-08-22  David Malcolm  <dmalcolm@redhat.com>

* sched-int.h (schedule_ebb): Strengthen params "head", "tail"
from rtx to rtx_insn *.

* sched-ebb.c (earliest_block_with_similiar_load): Strengthen
locals "insn1", "insn2" from rtx to rtx_insn *.
(add_deps_for_risky_insns): Likewise for params "head", "tail" and
locals "insn", "prev", "last_jump", "next_tail".
(schedule_ebb): Likewise for params "head", "tail".
(schedule_ebbs): Likewise for locals "tail", "head".

* config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast
to rtx_insn on "last_insn" in one of the invocations of
schedule_ebb.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214375 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/c6x/c6x.c
gcc/sched-ebb.c
gcc/sched-int.h